Commit be0ef636 authored by Jean Flach's avatar Jean Flach
Browse files

Workaround issues with get_snapshot

parent 151d75c3
......@@ -57,6 +57,12 @@ if [ -z "$UPSTREAM_GIT_NOREPO" ]; then
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
if [[ "$git_version" = *2.6.3* ]]; then
package_version=$(echo "$git_version" | sed -e 's/^v//' -e 's/-/+t/' -e 's/-/./g')
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment