scmversion: Fix incorrect tagging after stable/beta split

This commit is contained in:
Connor McLaughlin
2020-12-22 03:24:19 +10:00
parent 3ab017c32e
commit 14c227a813
2 changed files with 2 additions and 2 deletions

View File

@ -3,7 +3,7 @@
VERSION_FILE="scmversion.cpp"
HASH=$(git rev-parse HEAD)
BRANCH=$(git rev-parse --abbrev-ref HEAD | tr -d '\r\n')
TAG=$(git describe --tags --dirty --exclude latest | tr -d '\r\n')
TAG=$(git describe --tags --dirty --exclude latest --exclude beta | tr -d '\r\n')
DATE=$(git log -1 --date=iso8601-strict --format=%cd)
SIGNATURE_LINE="// ${HASH} ${BRANCH} ${TAG} ${DATE}"