Skip to content

Commit 9cdf440

Browse files
committed
HSEARCH-5513 Add a GitHub release template
1 parent 551eb01 commit 9cdf440

File tree

2 files changed

+5
-0
lines changed

2 files changed

+5
-0
lines changed

ci/release/Jenkinsfile

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -85,8 +85,10 @@ pipeline {
8585
dir('.release/scripts') {
8686
sh 'git clone https://github.com/hibernate/hibernate-release-scripts.git .'
8787
}
88+
def ghReleaseNote = sh('realpath -e github_release_notes.md 2>/dev/null', returnStdout: true).trim()
8889
sh """
8990
bash -xe .release/scripts/release.sh -j ${params.RELEASE_DRY_RUN ? '-d' : ''} \
91+
${ghReleaseNote != '' ? '--notes=' + ghReleaseNote : ''} \
9092
search ${releaseVersion.toString()} ${developmentVersion.toString()}
9193
"""
9294
}

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/search/releases/{{releaseVersionFamily}}) for requirements and compatibilities.
3+
* See the [What's New](https://docs.hibernate.org/search/{{releaseVersionFamily}}/whats-new/en-US/html_single/) guide for details about new features and capabilities.

0 commit comments

Comments
 (0)