We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent a72d94a commit eb01cd0Copy full SHA for eb01cd0
ci/release/Jenkinsfile
@@ -159,13 +159,7 @@ pipeline {
159
if ( notesFiles.length > 1 ) {
160
throw new IllegalStateException( "Located more than 1 `release_notes.md`" )
161
}
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}"
+ env.SCRIPT_OPTIONS = " --notes=${notesFiles[0].path}"
169
170
if ( params.RELEASE_DRY_RUN ) {
171
env.SCRIPT_OPTIONS += " -d"
0 commit comments