Skip to content

Commit ef676f8

Browse files
committed
Adjust the release process
- remove the jreleaser.yml - use the updated release script call
1 parent 7e84483 commit ef676f8

File tree

3 files changed

+8
-41
lines changed

3 files changed

+8
-41
lines changed

.release/.gitignore

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
# The folder into which we checkout our release scripts into
2+
*
3+
!.gitignore

ci/release/Jenkinsfile

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -52,6 +52,7 @@ pipeline {
5252

5353
def releaseVersion = Version.parseReleaseVersion(params.RELEASE_VERSION)
5454
def developmentVersion = Version.parseDevelopmentVersion(params.DEVELOPMENT_VERSION)
55+
env.JRELEASER_DRY_RUN = params.RELEASE_DRY_RUN
5556
echo "Performing full release for version ${releaseVersion.toString()}"
5657

5758
withMaven(mavenSettingsConfig: params.RELEASE_DRY_RUN ? null : 'ci-hibernate.deploy.settings.maven',
@@ -71,9 +72,11 @@ pipeline {
7172
sshagent(['ed25519.Hibernate-CI.github.com']) {
7273
sh 'mvn -v'
7374
sh 'cat $HOME/.ssh/config'
74-
sh 'git clone https://github.com/hibernate/hibernate-release-scripts.git'
75+
dir('.release/scripts') {
76+
sh 'git clone https://github.com/hibernate/hibernate-release-scripts.git .'
77+
}
7578
sh """
76-
bash -xe hibernate-release-scripts/release.sh ${params.RELEASE_DRY_RUN ? '-d' : ''} \
79+
bash -xe .release/scripts/release.sh -j ${params.RELEASE_DRY_RUN ? '-d' : ''} \
7780
infra-develocity ${releaseVersion.toString()} ${developmentVersion.toString()}
7881
"""
7982
}

jreleaser.yml

Lines changed: 0 additions & 39 deletions
This file was deleted.

0 commit comments

Comments
 (0)