Skip to content

Commit 288eaa1

Browse files
committed
allow tags on merges
1 parent a1875d6 commit 288eaa1

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

tools/ci/jenkins/build.sh

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -51,9 +51,9 @@ rm -rf _CPack_Packages *.tar.bz2 *.zip CMakeFiles CMakeCache.txt
5151

5252
RTTR_VERSION=OFF
5353
if [ "$deploy_to" == "stable" ] ; then
54-
GIT_TAG=$(git -C $src_dir describe --exact-match 2>/dev/null || true)
54+
GIT_TAG=$(git -C $src_dir describe --all --exact-match 2>/dev/null || true)
5555
if [ -z "$GIT_TAG" ] || [[ ! "$GIT_TAG" =~ v[0-9]+\.[0-9]+\.[0-9]+ ]] ; then
56-
echo "Tried to publish to stable, but no Git TAG 'vX.Y.Z' was found: $(git -C $src_dir describe --exact-match 2>&1)" >&2
56+
echo "Tried to publish to stable, but no Git TAG 'vX.Y.Z' was found: $(git -C $src_dir describe --all --exact-match 2>&1)" >&2
5757
exit 1
5858
fi
5959
RTTR_VERSION=${GIT_TAG#"v"}

0 commit comments

Comments
 (0)