mirror of https://github.com/PCSX2/pcsx2.git
CI/Appimage: Suppress error when no tags are present
This commit is contained in:
parent
34c9590cf1
commit
353aef9c5c
|
@ -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
|
||||||
|
|
Loading…
Reference in New Issue