Skip to content

Commit 7632220

Browse files
committed
HHH-18861 - Improve GitHub release announcement body for automated releases
1 parent 672922b commit 7632220

File tree

1 file changed

+4
-2
lines changed

1 file changed

+4
-2
lines changed

ci/release/Jenkinsfile

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -148,8 +148,10 @@ pipeline {
148148
env.RELEASE_VERSION = releaseVersion.toString()
149149
env.DEVELOPMENT_VERSION = developmentVersion.toString()
150150

151-
// def matchingFiles = findFiles(glob: "/release_notes.md")
152-
// env.SCRIPT_OPTIONS = " --notes=${matchingFiles[0]}"
151+
def notesFile = new File( "release_notes.md" )
152+
assert notesFile.exists
153+
env.SCRIPT_OPTIONS = " --notes=${notesFile.absolutePath}"
154+
153155
if ( params.RELEASE_DRY_RUN ) {
154156
env.SCRIPT_OPTIONS += " -d"
155157
}

0 commit comments

Comments
 (0)