Commit 316d9a24 authored by Jamie Hall's avatar Jamie Hall
Browse files


parent 3ff88d95
...@@ -12,9 +12,12 @@ ROUGE="\\033[1;31m" ...@@ -12,9 +12,12 @@ ROUGE="\\033[1;31m"
BLEU="\\033[1;34m" BLEU="\\033[1;34m"
VERSION_NAME=`sed -n 's/__version__.*=.*\"\(.*\)\"/\1/p' MDANSE/` VERSION_NAME=`sed -n 's/__version__.*=.*\"\(.*\)\"/\1/p' MDANSE/`
if [ "${CI_BUILD_REF_NAME}" == "develop" ]
if [[ ${CI_BUILD_REF_NAME} =~ feature- ]]
then then
VERSION_NAME=${VERSION_NAME}-`git rev-parse --short HEAD` VERSION_NAME=${VERSION_NAME}-`git rev-parse --short HEAD`
elif [ -n "${WEEKLY_BUILD}" ]
VERSION_NAME=${VERSION_NAME}-"weekly-build-"`date +%Y-%m-%d`
fi fi
##Select the build target ##Select the build target
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