Supply release tag processing

This commit is contained in:
Dan Hawkins 2022-02-25 00:01:09 +00:00
commit 70d569c43b

View file

@ -19,7 +19,7 @@ def LinkedHashMap startswithspecialprefix(String releasetag) {
// Two forms of releasetag expected
// <prefix>_<version>_<buildnumber>
// <version>_<buildnumber>
def int seperatorcount = releasetag.split(RELEASETAG_PREFIX_SEPERATOR).size() - 1
def int separatorcount = releasetag.split(RELEASETAG_PREFIX_SEPERATOR).size() - 1
def firstseperatorindex = releasetag.indexOf(RELEASETAG_PREFIX_SEPERATOR)
if (separatorcount >= 2) {
if (firstseperatorindex > 0) {