From 353aef9c5ccfcfc8968cfc89d002b58c9b85aa41 Mon Sep 17 00:00:00 2001 From: TheLastRar Date: Thu, 19 Dec 2024 13:56:23 +0000 Subject: [PATCH] CI/Appimage: Suppress error when no tags are present --- .github/workflows/scripts/linux/appimage-qt.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/scripts/linux/appimage-qt.sh b/.github/workflows/scripts/linux/appimage-qt.sh index 73839b2573450..d22a635b5040f 100755 --- a/.github/workflows/scripts/linux/appimage-qt.sh +++ b/.github/workflows/scripts/linux/appimage-qt.sh @@ -206,7 +206,7 @@ GIT_VERSION=$(git tag --points-at HEAD) if [[ "${GIT_VERSION}" == "" ]]; then # 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 GIT_VERSION=$(git rev-parse HEAD) fi