taiko-web/tools/get_version.bat

5 lines
209 B
Batchfile
Raw Normal View History

2020-03-07 03:39:48 +01: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