Skip to content
Snippets Groups Projects
Commit 91fbc406 authored by eric pellegrini's avatar eric pellegrini
Browse files

Update build_deb.sh

parent 99acb2f9
Branches
Tags
No related merge requests found
Pipeline #
...@@ -22,14 +22,18 @@ if [ -n "${RUN_NIGHTLY_BUILD}" ] ...@@ -22,14 +22,18 @@ if [ -n "${RUN_NIGHTLY_BUILD}" ]
then then
VERSION_NAME="devel" VERSION_NAME="devel"
else else
echo $CI_BUILD_TAG
if [[ $CI_BUILD_TAG =~ ^v([0-9]+\.[0-9]+\.[0-9]+)$ ]]; then if [[ $CI_BUILD_TAG =~ ^v([0-9]+\.[0-9]+\.[0-9]+)$ ]]; then
VERSION_NAME=${BASH_REMATCH[1]} VERSION_NAME=${BASH_REMATCH[1]}
echo $VERSION_NAME
else else
echo -e "$ROUGE""Invalid version number ${CI_BUILD_TAG}" "$NORMAL" echo -e "$ROUGE""Invalid version number ${CI_BUILD_TAG}" "$NORMAL"
exit exit
fi fi
fi fi
exit
##Select the build target ##Select the build target
BUILD_TARGET=debian BUILD_TARGET=debian
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment