CI/Appimage: Suppress error when no tags are present

This commit is contained in:
TheLastRar 2024-12-19 13:56:23 +00:00
parent 34c9590cf1
commit 353aef9c5c
1 changed files with 1 additions and 1 deletions

View File

@ -206,7 +206,7 @@ GIT_VERSION=$(git tag --points-at HEAD)
if [[ "${GIT_VERSION}" == "" ]]; then if [[ "${GIT_VERSION}" == "" ]]; then
# In the odd event that we run this script before the release gets tagged. # In the odd event that we run this script before the release gets tagged.
GIT_VERSION=$(git describe --tags) GIT_VERSION=$(git describe --tags || true)
if [[ "${GIT_VERSION}" == "" ]]; then if [[ "${GIT_VERSION}" == "" ]]; then
GIT_VERSION=$(git rev-parse HEAD) GIT_VERSION=$(git rev-parse HEAD)
fi fi