File tree Expand file tree Collapse file tree 1 file changed +5
-1
lines changed Expand file tree Collapse file tree 1 file changed +5
-1
lines changed Original file line number Diff line number Diff 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 }
You can’t perform that action at this time.
0 commit comments