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

Update package.sh

parent 9b0f2a3c
Pipeline #307 skipped
......@@ -21,7 +21,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 -e "$ROUGE""Invalid version number ${CI_BUILD_TAG}" "$NORMAL"
exit
fi
fi
export VERSION_NAME
......
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