Add --abbrev=0 to fix versioning issue on MacOS builds

This commit is contained in:
TobiLG 2018-04-28 10:37:10 +02:00
parent 1f95fa818f
commit 0ee32ed95c

View File

@ -1,7 +1,7 @@
#!/bin/bash #!/bin/bash
set -e set -e
VERSION=$(git describe --tags | sed 's/-/\n/g' | head -n 1) VERSION=$(git describe --tags --abbrev=0)
PROTECTED_MODE="no" PROTECTED_MODE="no"
# Hardcode some values to the core package # Hardcode some values to the core package