Skip to content

Commit eb01cd0

Browse files
committed
HHH-18861 - Improve GitHub release announcement body for automated releases
1 parent a72d94a commit eb01cd0

File tree

1 file changed

+1
-7
lines changed

1 file changed

+1
-7
lines changed

ci/release/Jenkinsfile

Lines changed: 1 addition & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -159,13 +159,7 @@ pipeline {
159159
if ( notesFiles.length > 1 ) {
160160
throw new IllegalStateException( "Located more than 1 `release_notes.md`" )
161161
}
162-
163-
def notesFile = notesFiles[0]
164-
if ( !notesFile.exists ) {
165-
throw new IllegalStateException( "File `release_notes.md` does not exist" )
166-
}
167-
168-
env.SCRIPT_OPTIONS = " --notes=${notesFile.absolutePath}"
162+
env.SCRIPT_OPTIONS = " --notes=${notesFiles[0].path}"
169163

170164
if ( params.RELEASE_DRY_RUN ) {
171165
env.SCRIPT_OPTIONS += " -d"

0 commit comments

Comments
 (0)