Commit c36b16e1 authored by eric pellegrini's avatar eric pellegrini

Update build_deb.sh

parent dec7be17
Pipeline #313 passed with stage
in 19 minutes and 14 seconds
......@@ -22,18 +22,14 @@ if [ -n "${RUN_NIGHTLY_BUILD}" ]
then
VERSION_NAME="devel"
else
echo $CI_BUILD_TAG
if [[ $CI_BUILD_TAG =~ ^v([0-9]+\.[0-9]+\.[0-9]+)$ ]]; then
VERSION_NAME=${BASH_REMATCH[1]}
echo $VERSION_NAME
else
echo -e "$ROUGE""Invalid version number ${CI_BUILD_TAG}" "$NORMAL"
exit
fi
fi
exit
##Select the build target
BUILD_TARGET=debian
......
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