Commit 8f485c68 authored by Jamie Hall's avatar Jamie Hall
Browse files

Update run_deploy.sh

parent de1040d7
Pipeline #988 passed with stages
in 6 minutes and 21 seconds
...@@ -13,13 +13,14 @@ BLEU="\\033[1;34m" ...@@ -13,13 +13,14 @@ BLEU="\\033[1;34m"
VERSION_NAME=`sed -n 's/__version__.*=.*\"\(.*\)\"/\1/p' MDANSE/__pkginfo__.py` VERSION_NAME=`sed -n 's/__version__.*=.*\"\(.*\)\"/\1/p' MDANSE/__pkginfo__.py`
echo "dfjsdhfdshfjkhfkjxhfxj" ${CI_BUILD_REF_NAME} if [[ ${CI_BUILD_REF_NAME} =~ develop ]]
if [[ ${CI_BUILD_REF_NAME} =~ feature- ]]
then then
VERSION_NAME=${VERSION_NAME}-`git rev-parse --short HEAD` if [ -n "${WEEKLY_BUILD}" ]
elif [ -n "${WEEKLY_BUILD}" ] then
then VERSION_NAME=${VERSION_NAME}-"weekly-build-"`date +%Y-%m-%d`
VERSION_NAME=${VERSION_NAME}-"weekly-build-"`date +%Y-%m-%d` else
VERSION_NAME=${VERSION_NAME}-`git rev-parse --short HEAD`
fi
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