Skip to content

Commit 9f2a069

Browse files
committed
Add a GitHub release "extra note" template
to be included in the GH release template Signed-off-by: marko-bekhta <marko.prykladna@gmail.com>
1 parent fffb51b commit 9f2a069

File tree

2 files changed

+5
-0
lines changed

2 files changed

+5
-0
lines changed

github_release_notes.md

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
2+
* See the [website](https://hibernate.org/validator/releases/{{releaseVersionFamily}}) for requirements and compatibilities.
3+
* See the [What's New](https://docs.hibernate.org/validator/{{releaseVersionFamily}}/whats-new/en-US/html_single/) guide for details about new features and capabilities.

jenkins/release/Jenkinsfile

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -77,8 +77,10 @@ pipeline {
7777
dir('.release/scripts') {
7878
sh 'git clone --branch test/github-releases https://github.com/hibernate/hibernate-release-scripts.git .'
7979
}
80+
def ghReleaseNote = sh('realpath -e github_release_notes.md 2>/dev/null', returnStdout: true).trim()
8081
sh """
8182
bash -xe .release/scripts/release.sh -j ${params.RELEASE_DRY_RUN ? '-d' : ''} \
83+
${ghReleaseNote != '' ? '--notes=' + ghReleaseNote : ''} \
8284
validator ${releaseVersion.toString()} ${developmentVersion.toString()}
8385
"""
8486
}

0 commit comments

Comments
 (0)