Supply release tag processing

This commit is contained in:
Dan Hawkins 2022-02-24 23:18:11 +00:00
commit 88cba3bc68

View file

@ -17,7 +17,7 @@ def LinkedHashMap startswithspecialprefix(String releasetag) {
def String tagwithoutprefix = releasetag
def firstseperatorindex = releasetag.indexOf(RELEASETAG_PREFIX_SEPERATOR)
if (firstseperatorindex > 0)
if (firstseperatorindex > 0) {
prefixfound = releasetag[0..(firstseperatorindex - 1)].toLowerCase()
hasspecialprefix = RELEASETAG_PREFIXES.containsKey(prefixfound)
tagwithoutprefix = releasetag[(firstseperatorindex + 1)..-1]