japanese-drum-game/tools/get_version.bat

5 lines
161 B
Batchfile
Raw Permalink Normal View History

2020-03-07 10:39:48 +08:00
@echo off
(
git log -1 --pretty="format:{\"commit\": \"%%H\", \"commit_short\": \"%%h\", \"version\": \"%%ad\"}" --date="format:%%y.%%m.%%d"
2020-03-07 10:39:48 +08:00
) > ../version.json