Commit 71410a3f authored by Remi Perenon's avatar Remi Perenon

Hotfix to deal with git branch name bug with docker (versions are considered as beta)

parent d20292c9
Pipeline #4478 passed with stages
in 31 minutes and 46 seconds
......@@ -44,7 +44,8 @@ PKG_INFO=${CI_PROJECT_DIR}/Src/__pkginfo__.py
MDANSE_VERSION=`sed -n 's/__version__.*=.*\"\(.*\)\"/\1/p' ${PKG_INFO}`
# Check if branch is master
if [[ ${CI_COMMIT_REF_NAME} == "master" ]]
# Hotfix to deal with git branch name bug with docker
if true
then
VERSION_NAME=${MDANSE_VERSION}
"${SED_I_COMMAND[@]}" "s/.*__beta__.*/__beta__ = None/" ${PKG_INFO}
......
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