Skip to content
Snippets Groups Projects
Commit be0ef636 authored by Jean Flach's avatar Jean Flach
Browse files

Workaround issues with get_snapshot

parent 151d75c3
No related branches found
No related tags found
No related merge requests found
......@@ -57,6 +57,12 @@ if [ -z "$UPSTREAM_GIT_NOREPO" ]; then
fi
git_version=$(git describe --tags "${UPSTREAM_GIT_BRANCH}")
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.
It's safer to wait for the next commit. Have a nice day."
exit 1
fi
if [[ "$git_version" = *2.6.3* ]]; then
package_version=$(echo "$git_version" | sed -e 's/^v//' -e 's/-/+t/' -e 's/-/./g')
else
......
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