We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent a1875d6 commit 288eaa1Copy full SHA for 288eaa1
tools/ci/jenkins/build.sh
@@ -51,9 +51,9 @@ rm -rf _CPack_Packages *.tar.bz2 *.zip CMakeFiles CMakeCache.txt
51
52
RTTR_VERSION=OFF
53
if [ "$deploy_to" == "stable" ] ; then
54
- GIT_TAG=$(git -C $src_dir describe --exact-match 2>/dev/null || true)
+ GIT_TAG=$(git -C $src_dir describe --all --exact-match 2>/dev/null || true)
55
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
+ 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
57
exit 1
58
fi
59
RTTR_VERSION=${GIT_TAG#"v"}
0 commit comments