diff --git a/release/tag.groovy b/release/tag.groovy index b8d7b91..19901d9 100644 --- a/release/tag.groovy +++ b/release/tag.groovy @@ -1,16 +1,16 @@ -LinkedHashMap RELEASETAG_PREFIXES = [ - 'superceded' : 'Misspelt - Indicates a later release has superseded the release with this prefix', - 'superseded' : 'Indicates a later release has superseded the release with this prefix', - 'erroneous' : 'The release was released unintentionally', - 'faulty' : 'The release was found to have a serious fault', - 'ignore' : 'The release should be ignored', - 'inmainline' : 'This release was associated with development branch which has now been merged into mainline', -] - -RELEASETAG_PREFIX_SEPERATOR = '_' - def startswithspecialprefix(String releasetag) { + def LinkedHashMap RELEASETAG_PREFIXES = [ + 'superceded' : 'Misspelt - Indicates a later release has superseded the release with this prefix', + 'superseded' : 'Indicates a later release has superseded the release with this prefix', + 'erroneous' : 'The release was released unintentionally', + 'faulty' : 'The release was found to have a serious fault', + 'ignore' : 'The release should be ignored', + 'inmainline' : 'This release was associated with development branch which has now been merged into mainline', + ] + + def RELEASETAG_PREFIX_SEPERATOR = '_' + def boolean hasspecialprefix = false def String releasetagprefix = '' def String prefixfound = ''