Add git hooks to tools
- Place these in your .git/hooks/ directory
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user