mirror of
https://github.com/hibernate/hibernate-orm
synced 2025-03-08 02:40:24 +00:00
HHH-18861 - Improve GitHub release announcement body for automated releases
This commit is contained in:
parent
caf7f85b5f
commit
a72d94a704
6
ci/release/Jenkinsfile
vendored
6
ci/release/Jenkinsfile
vendored
@ -53,6 +53,9 @@ def checkoutReleaseScripts() {
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
File findReleaseNotes() {
|
||||||
|
}
|
||||||
|
|
||||||
// --------------------------------------------
|
// --------------------------------------------
|
||||||
// Pipeline
|
// Pipeline
|
||||||
|
|
||||||
@ -148,6 +151,7 @@ pipeline {
|
|||||||
env.RELEASE_VERSION = releaseVersion.toString()
|
env.RELEASE_VERSION = releaseVersion.toString()
|
||||||
env.DEVELOPMENT_VERSION = developmentVersion.toString()
|
env.DEVELOPMENT_VERSION = developmentVersion.toString()
|
||||||
|
|
||||||
|
|
||||||
def notesFiles = findFiles(glob: 'release_notes.md')
|
def notesFiles = findFiles(glob: 'release_notes.md')
|
||||||
if ( notesFiles.length < 1 ) {
|
if ( notesFiles.length < 1 ) {
|
||||||
throw new IllegalStateException( "Could not locate `release_notes.md`" )
|
throw new IllegalStateException( "Could not locate `release_notes.md`" )
|
||||||
@ -156,7 +160,7 @@ pipeline {
|
|||||||
throw new IllegalStateException( "Located more than 1 `release_notes.md`" )
|
throw new IllegalStateException( "Located more than 1 `release_notes.md`" )
|
||||||
}
|
}
|
||||||
|
|
||||||
def notesFile = notesFile[0]
|
def notesFile = notesFiles[0]
|
||||||
if ( !notesFile.exists ) {
|
if ( !notesFile.exists ) {
|
||||||
throw new IllegalStateException( "File `release_notes.md` does not exist" )
|
throw new IllegalStateException( "File `release_notes.md` does not exist" )
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user