Call "git describe" with the --long parameter to always output the format we are used to.

This commit is contained in:
Colin Finck 2018-02-17 18:11:37 +01:00 committed by GitHub
parent 46b520b58e
commit fc41183929
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -17,7 +17,7 @@ else
fi
# Generate the revision suffix and write it into a file.
REVISION_SUFFIX=`git describe --abbrev=7`
REVISION_SUFFIX=`git describe --abbrev=7 --long`
if [ "$1" != "" ]; then
REVISION_SUFFIX+="-patch$1"
fi