japanese-drum-game/tools/get_version.sh

2 lines
189 B
Bash
Raw Normal View History

2020-03-07 10:39:48 +08:00
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