From a72d94a70479af2a5854e9a518f49b23f29d8596 Mon Sep 17 00:00:00 2001 From: Steve Ebersole Date: Tue, 3 Dec 2024 21:24:29 -0600 Subject: [PATCH] HHH-18861 - Improve GitHub release announcement body for automated releases --- ci/release/Jenkinsfile | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/ci/release/Jenkinsfile b/ci/release/Jenkinsfile index d098754886..5c40b71ca2 100644 --- a/ci/release/Jenkinsfile +++ b/ci/release/Jenkinsfile @@ -53,6 +53,9 @@ def checkoutReleaseScripts() { } } +File findReleaseNotes() { +} + // -------------------------------------------- // Pipeline @@ -148,6 +151,7 @@ pipeline { env.RELEASE_VERSION = releaseVersion.toString() env.DEVELOPMENT_VERSION = developmentVersion.toString() + def notesFiles = findFiles(glob: 'release_notes.md') if ( notesFiles.length < 1 ) { throw new IllegalStateException( "Could not locate `release_notes.md`" ) @@ -156,7 +160,7 @@ pipeline { throw new IllegalStateException( "Located more than 1 `release_notes.md`" ) } - def notesFile = notesFile[0] + def notesFile = notesFiles[0] if ( !notesFile.exists ) { throw new IllegalStateException( "File `release_notes.md` does not exist" ) }