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 d521ea7Copy full SHA for d521ea7
components/antlib/scripts/parse_version
@@ -73,7 +73,7 @@ def snapshot_logic(omero_version):
73
m = re.match((
74
"^"
75
"(?P<BASE>.*?)"
76
- "(?P<STRIP>([-]DEV)?-\d+-[a-f0-9]+?(-dirty)?)"
+ "(?P<STRIP>([-]DEV)?-\\d+-[a-f0-9]+?(-dirty)?)"
77
"(?P<ICE>-ice[0-9]+)?"
78
"$"), omero_version)
79
if m:
@@ -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("^([^\\d]*\\d+[.]\\d+[.])(\\d+)-SNAPSHOT$", omero_version)
119
120
next = int(m.group(2)) + 1
121
omero_version = "%s%s-SNAPSHOT" % (m.group(1), next)
0 commit comments