unified commit hash in version which was vary for different build platforms

This commit is contained in:
vadym 2022-12-12 10:50:34 +02:00
parent 98992424d4
commit 9fc8e49d9d

View file

@ -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