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 288eaa1 commit 4bc7063Copy full SHA for 4bc7063
tools/ci/jenkins/build.sh
@@ -52,11 +52,11 @@ rm -rf _CPack_Packages *.tar.bz2 *.zip CMakeFiles CMakeCache.txt
52
RTTR_VERSION=OFF
53
if [ "$deploy_to" == "stable" ] ; then
54
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
+ if [ -z "$GIT_TAG" ] || [[ ! "$GIT_TAG" =~ tags/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 --all --exact-match 2>&1)" >&2
57
exit 1
58
fi
59
- RTTR_VERSION=${GIT_TAG#"v"}
+ RTTR_VERSION=${GIT_TAG#"tags/v"}
60
echo "Using RTTR_VERSION from GIT_TAG: $RTTR_VERSION" >&2
61
62
0 commit comments