Skip to content

Commit a72d94a

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

File tree

1 file changed

+5
-1
lines changed

1 file changed

+5
-1
lines changed

ci/release/Jenkinsfile

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -53,6 +53,9 @@ def checkoutReleaseScripts() {
5353
}
5454
}
5555

56+
File findReleaseNotes() {
57+
}
58+
5659
// --------------------------------------------
5760
// Pipeline
5861

@@ -148,6 +151,7 @@ pipeline {
148151
env.RELEASE_VERSION = releaseVersion.toString()
149152
env.DEVELOPMENT_VERSION = developmentVersion.toString()
150153

154+
151155
def notesFiles = findFiles(glob: 'release_notes.md')
152156
if ( notesFiles.length < 1 ) {
153157
throw new IllegalStateException( "Could not locate `release_notes.md`" )
@@ -156,7 +160,7 @@ pipeline {
156160
throw new IllegalStateException( "Located more than 1 `release_notes.md`" )
157161
}
158162

159-
def notesFile = notesFile[0]
163+
def notesFile = notesFiles[0]
160164
if ( !notesFile.exists ) {
161165
throw new IllegalStateException( "File `release_notes.md` does not exist" )
162166
}

0 commit comments

Comments
 (0)