Skip to content
Snippets Groups Projects
Commit ddb3ad70 authored by Markus Frosch's avatar Markus Frosch
Browse files

Fix snapshot versions for 2.11.0

parent 50ea97b3
No related branches found
No related tags found
No related merge requests found
Pipeline #7972 passed
...@@ -57,6 +57,12 @@ if [ -z "$UPSTREAM_GIT_NOREPO" ]; then ...@@ -57,6 +57,12 @@ if [ -z "$UPSTREAM_GIT_NOREPO" ]; then
fi fi
git_version=$(git describe --tags "${UPSTREAM_GIT_BRANCH}") git_version=$(git describe --tags "${UPSTREAM_GIT_BRANCH}")
# TEMP: Fixup version for 2.11.0 - so that it is newer than 2.11.0+rc1
if [[ "$git_version" = v2.11.0* ]]; then
git_version="$(echo "$git_version" | sed s/2.11.0/2.11.1/)"
fi
if [ `echo "$git_version" | grep -v -E '(g[0-9a-f]+)$'` ]; then if [ `echo "$git_version" | grep -v -E '(g[0-9a-f]+)$'` ]; then
echo "This is a release tagged commit and does not fit the naming scheme, it will confuse the packaging server. echo "This is a release tagged commit and does not fit the naming scheme, it will confuse the packaging server.
It's safer to wait for the next commit. Have a nice day." It's safer to wait for the next commit. Have a nice day."
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment