We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 09f7a5b commit c2f775fCopy full SHA for c2f775f
components/antlib/scripts/parse_version
@@ -71,7 +71,7 @@ def snapshot_logic(omero_version):
71
See gh-67 for the discussion.
72
"""
73
m = re.match((
74
- "^"
+ "r^"
75
"(?P<BASE>.*?)"
76
"(?P<STRIP>([-]DEV)?-\d+-[a-f0-9]+?(-dirty)?)"
77
"(?P<ICE>-ice[0-9]+)?"
@@ -115,7 +115,7 @@ def incr_version(omero_version):
115
omero_version = new_vers
116
except:
117
# But if that doesn't work, we brute force with regex
118
- m = re.match("^([^\d]*\d+[.]\d+[.])(\d+)-SNAPSHOT$", omero_version)
+ m = re.match("r^([^\d]*\d+[.]\d+[.])(\d+)-SNAPSHOT$", omero_version)
119
if m:
120
next = int(m.group(2)) + 1
121
omero_version = "%s%s-SNAPSHOT" % (m.group(1), next)
0 commit comments