taiko-web/tools/get_version.bat
LoveEevee 96b1ba4b04 Add git hooks to tools
- Place these in your .git/hooks/ directory
2020-03-17 06:13:36 +03:00

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