scmversion: Use annotated tag as base

This commit is contained in:
Stenzek
2023-10-07 13:15:50 +10:00
parent 61a5efe62b
commit 706dc86a94
4 changed files with 5 additions and 5 deletions

View File

@ -17,7 +17,7 @@ GIT_VERSION=$(git tag --points-at HEAD)
GIT_HASH=$(git rev-parse HEAD)
if [[ "${GIT_VERSION}" == "" ]]; then
GIT_VERSION=$(git describe --tags --dirty --exclude latest --exclude preview --exclude legacy --exclude previous-latest | tr -d '\r\n')
GIT_VERSION=$(git describe --dirty | tr -d '\r\n')
if [[ "${GIT_VERSION}" == "" ]]; then
GIT_VERSION=$(git rev-parse HEAD)
fi