If you are using GitLab outside of the ILL, then you will need to use HTTPS and not SSH for clone/push/pull operations. If you are using the VPN, then SSH will work normally.

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