From 7632220f3dcb83954de57d423e32d030b51404e4 Mon Sep 17 00:00:00 2001 From: Steve Ebersole Date: Tue, 26 Nov 2024 15:55:17 -0600 Subject: [PATCH] HHH-18861 - Improve GitHub release announcement body for automated releases --- ci/release/Jenkinsfile | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/ci/release/Jenkinsfile b/ci/release/Jenkinsfile index 5ff116f84a..0af5fac7d4 100644 --- a/ci/release/Jenkinsfile +++ b/ci/release/Jenkinsfile @@ -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" }