CI/Appimage: Suppress error when no tags are present
Some checks are pending
🐧 Linux Builds / AppImage (push) Waiting to run
🐧 Linux Builds / Flatpak (push) Waiting to run
🍎 MacOS Builds / Defaults (push) Waiting to run
🖥️ Windows Builds / Lint VS Project Files (push) Waiting to run
🖥️ Windows Builds / SSE4 (push) Blocked by required conditions
🖥️ Windows Builds / AVX2 (push) Blocked by required conditions
🖥️ Windows Builds / CMake (push) Waiting to run

This commit is contained in:
TheLastRar 2024-12-19 13:56:23 +00:00 committed by Ty
parent 33a475a456
commit f509fb6950

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