Commit cc2962c6 authored by Nathan/Eilisha Shiraini's avatar Nathan/Eilisha Shiraini
Browse files

Ignoring "Release" branch because we won't use one

parent 7aba3a78
......@@ -23,8 +23,8 @@ GIT_CURRENT_BRANCH = os.environ.get('CI_COMMIT_REF_SLUG', subprocess.check_outpu
# Generated data
VERSION = {
'master' : (str(VERSION_EPOCH) + '!' if VERSION_EPOCH else '') + VERSION_MAIN + VERSION_SUFFIX + '.dev' + GIT_CURRENT_COUNT,
'release' : (str(VERSION_EPOCH) + '!' if VERSION_EPOCH else '') + VERSION_MAIN + VERSION_SUFFIX,
'master' : (str(VERSION_EPOCH) + '!' if VERSION_EPOCH else '') + VERSION_MAIN + VERSION_SUFFIX #+ '.dev' + GIT_CURRENT_COUNT,
# 'release' : (str(VERSION_EPOCH) + '!' if VERSION_EPOCH else '') + VERSION_MAIN + VERSION_SUFFIX,
}.get(
GIT_CURRENT_BRANCH,
(str(VERSION_EPOCH) + '!' if VERSION_EPOCH else '') + VERSION_MAIN + VERSION_SUFFIX + '+' + (GIT_CURRENT_BRANCH if GIT_CURRENT_BRANCH else GIT_CURRENT_COMMIT)
......
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