Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Menu
Open sidebar
Scientific Software
MDANSE
Commits
71410a3f
Commit
71410a3f
authored
Sep 18, 2018
by
Remi Perenon
Browse files
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
Changes
1
Pipelines
2
Hide whitespace changes
Inline
Side-by-side
BuildServer/Unix/setup_ci.sh
View file @
71410a3f
...
...
@@ -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
}
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment