From b7c5a669f3b732d13d7e27900afce0cd8ce35024 Mon Sep 17 00:00:00 2001 From: Dan Hawkins Date: Fri, 25 Feb 2022 08:01:08 +0000 Subject: [PATCH] Supply release tag processing --- release/tag.groovy | 22 +++++++++++----------- 1 file changed, 11 insertions(+), 11 deletions(-) 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 = ''