mirror of
https://github.com/galaxyproject/galaxy.git
synced 2026-10-24 02:04:04 +08:00
Replace tag with version
I assume you meant version and not tag here.
This commit is contained in:
@@ -124,9 +124,9 @@ def parse_tag(tag):
|
||||
match = BUILD_NUMBER_REGEX.search(version)
|
||||
if match:
|
||||
build_number = int(match.group(0))
|
||||
if '--' in tag:
|
||||
if '--' in version:
|
||||
version, build_string = version.rsplit('--', 1)
|
||||
elif '-' in tag:
|
||||
elif '-' in version:
|
||||
# Should be mulled multi-container image tag
|
||||
version, build_string = version.rsplit('-', 1)
|
||||
else:
|
||||
|
||||
Reference in New Issue
Block a user