mirror of
https://github.com/jiojciojsioe3/a3cjroijsiojiorj.git
synced 2024-11-15 07:21:50 +08: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
|