Files
taiko-web-without-tjaf/tools/get_version.bat

5 lines
161 B
Batchfile

@echo off
(
git log -1 --pretty="format:{\"commit\": \"%%H\", \"commit_short\": \"%%h\", \"version\": \"%%ad\"}" --date="format:%%y.%%m.%%d"
) > ../version.json