japanese-drum-game/tools/get_version.bat

5 lines
209 B
Batchfile
Raw 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\", \"url\": \"https://github.com/bui/taiko-web/\"}" --date="format:%%y.%%m.%%d"
) > ../version.json