HHH-18861 - Improve GitHub release announcement body for automated releases

This commit is contained in:
Steve Ebersole 2024-11-26 15:55:17 -06:00
parent 672922b526
commit 7632220f3d
1 changed files with 4 additions and 2 deletions

View File

@ -148,8 +148,10 @@ pipeline {
env.RELEASE_VERSION = releaseVersion.toString()
env.DEVELOPMENT_VERSION = developmentVersion.toString()
// def matchingFiles = findFiles(glob: "/release_notes.md")
// env.SCRIPT_OPTIONS = " --notes=${matchingFiles[0]}"
def notesFile = new File( "release_notes.md" )
assert notesFile.exists
env.SCRIPT_OPTIONS = " --notes=${notesFile.absolutePath}"
if ( params.RELEASE_DRY_RUN ) {
env.SCRIPT_OPTIONS += " -d"
}