mirror of
https://github.com/WinampDesktop/winamp.git
synced 2025-06-13 11:35:46 -04:00
scmversion: Use annotated tag as base
This commit is contained in:
@ -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
|
||||
|
Reference in New Issue
Block a user