Supply release tag processing

This commit is contained in:
Dan Hawkins 2022-02-25 08:01:08 +00:00
commit b7c5a669f3

View file

@ -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 = ''