HHH-18861 - Improve GitHub release announcement body for automated releases
This commit is contained in:
parent
caf7f85b5f
commit
a72d94a704
|
@ -53,6 +53,9 @@ def checkoutReleaseScripts() {
|
|||
}
|
||||
}
|
||||
|
||||
File findReleaseNotes() {
|
||||
}
|
||||
|
||||
// --------------------------------------------
|
||||
// Pipeline
|
||||
|
||||
|
@ -148,6 +151,7 @@ pipeline {
|
|||
env.RELEASE_VERSION = releaseVersion.toString()
|
||||
env.DEVELOPMENT_VERSION = developmentVersion.toString()
|
||||
|
||||
|
||||
def notesFiles = findFiles(glob: 'release_notes.md')
|
||||
if ( notesFiles.length < 1 ) {
|
||||
throw new IllegalStateException( "Could not locate `release_notes.md`" )
|
||||
|
@ -156,7 +160,7 @@ pipeline {
|
|||
throw new IllegalStateException( "Located more than 1 `release_notes.md`" )
|
||||
}
|
||||
|
||||
def notesFile = notesFile[0]
|
||||
def notesFile = notesFiles[0]
|
||||
if ( !notesFile.exists ) {
|
||||
throw new IllegalStateException( "File `release_notes.md` does not exist" )
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue