mirror of
https://github.com/yuukiwww/taiko-web.git
synced 2024-09-08 10:41:18 +02:00
4 lines
206 B
Bash
Executable File
4 lines
206 B
Bash
Executable File
#!/bin/bash
|
|
toplevel=$( git rev-parse --show-toplevel )
|
|
git log -1 --pretty="format:{\"commit\": \"%H\", \"commit_short\": \"%h\", \"version\": \"%ad\"}" --date="format:%y.%m.%d" > "$toplevel/version.json"
|