Commit ea9edd64 authored by eric pellegrini's avatar eric pellegrini
Browse files

Update package.sh

parent 75e243d1
Pipeline #309 failed with stage
......@@ -22,7 +22,13 @@ if [ -n "${RUN_NIGHTLY_BUILD}" ]
then
VERSION_NAME="devel"
else
VERSION_NAME=${CI_BUILD_TAG}
if [[ ${CI_BUILD_TAG} =~ ^v([0-9]+\.[0-9]+\.[0-9]+)$ ]]
then
VERSION_NAME=${BASH_REMATCH[1]}
else
echo "Invalid version number ${CI_BUILD_TAG}"
exit
fi
fi
if [ "$BUILD_TARGET" = "win32" ]; then
......
Markdown is supported
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