From eb01cd06ee6da6ef9742118c47eb4a38c71676f1 Mon Sep 17 00:00:00 2001 From: Steve Ebersole Date: Tue, 3 Dec 2024 21:30:26 -0600 Subject: [PATCH] HHH-18861 - Improve GitHub release announcement body for automated releases --- ci/release/Jenkinsfile | 8 +------- 1 file changed, 1 insertion(+), 7 deletions(-) diff --git a/ci/release/Jenkinsfile b/ci/release/Jenkinsfile index 5c40b71ca29..339869e4dce 100644 --- a/ci/release/Jenkinsfile +++ b/ci/release/Jenkinsfile @@ -159,13 +159,7 @@ pipeline { if ( notesFiles.length > 1 ) { throw new IllegalStateException( "Located more than 1 `release_notes.md`" ) } - - def notesFile = notesFiles[0] - if ( !notesFile.exists ) { - throw new IllegalStateException( "File `release_notes.md` does not exist" ) - } - - env.SCRIPT_OPTIONS = " --notes=${notesFile.absolutePath}" + env.SCRIPT_OPTIONS = " --notes=${notesFiles[0].path}" if ( params.RELEASE_DRY_RUN ) { env.SCRIPT_OPTIONS += " -d"