Add git hooks to tools

- Place these in your .git/hooks/ directory
This commit is contained in:
LoveEevee
2020-03-17 06:13:36 +03:00
parent 816833bac0
commit 96b1ba4b04
6 changed files with 12 additions and 2 deletions

View File

@@ -1,4 +1,4 @@
@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"
git log -1 --pretty="format:{\"commit\": \"%%H\", \"commit_short\": \"%%h\", \"version\": \"%%ad\"}" --date="format:%%y.%%m.%%d"
) > ../version.json