mirror of
https://github.com/yggdrasil-network/yggdrasil-go.git
synced 2025-04-28 22:25:07 +03:00
unified commit hash in version which was vary for different build platforms
This commit is contained in:
parent
98992424d4
commit
9fc8e49d9d
1 changed files with 2 additions and 2 deletions
|
@ -3,9 +3,9 @@
|
||||||
case "$*" in
|
case "$*" in
|
||||||
*--bare*)
|
*--bare*)
|
||||||
# Remove the "v" prefix
|
# Remove the "v" prefix
|
||||||
git describe --tags --match="v[0-9]*\.[0-9]*\.[0-9]*" | cut -c 2-
|
git describe --tags --match="v[0-9]*\.[0-9]*\.[0-9]*" --abbrev=7 | cut -c 2-
|
||||||
;;
|
;;
|
||||||
*)
|
*)
|
||||||
git describe --tags --match="v[0-9]*\.[0-9]*\.[0-9]*"
|
git describe --tags --match="v[0-9]*\.[0-9]*\.[0-9]*" --abbrev=7
|
||||||
;;
|
;;
|
||||||
esac
|
esac
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue