mirror of
https://github.com/yuukiwww/taiko-web.git
synced 2024-10-22 17:05:49 +02:00
96b1ba4b04
- Place these in your .git/hooks/ directory
5 lines
161 B
Batchfile
5 lines
161 B
Batchfile
@echo off
|
|
(
|
|
git log -1 --pretty="format:{\"commit\": \"%%H\", \"commit_short\": \"%%h\", \"version\": \"%%ad\"}" --date="format:%%y.%%m.%%d"
|
|
) > ../version.json
|