@@ -55,10 +55,17 @@ if [ "$PROJECT" == "orm" ]; then
55
55
-PhibernatePublishUsername=$OSSRH_USER -PhibernatePublishPassword=$OSSRH_PASSWORD \
56
56
-DsigningPassword=$RELEASE_GPG_PASSPHRASE -DsigningKeyFile=$RELEASE_GPG_PRIVATE_KEY_PATH
57
57
elif [ " $PROJECT " != " reactive" ]; then
58
- # Hibernate Reactive does these checks in the `cirelease` task (called by publish.sh)
59
- " $SCRIPTS_DIR /check-sourceforge-availability.sh"
60
- " $SCRIPTS_DIR /update-readme.sh" $PROJECT $RELEASE_VERSION " $WORKSPACE /README.md"
61
- " $SCRIPTS_DIR /update-changelog.sh" $PROJECT $RELEASE_VERSION " $WORKSPACE /changelog.txt"
58
+ # Hibernate Reactive does these checks in the `cirelease` task (called by publish.sh)
59
+ if [[ " $PROJECT " != " infra-theme" && " $PROJECT " != " infra-extensions" ]]; then
60
+ # Infra projects do not have a distribution bundle archive,
61
+ # hence we do not want to check the sourceforge availability as we will not be uploading anything.
62
+ # There is also no versions in the readme and no changelog that we can fetch from JIRA,
63
+ # as there is no JIRA for these infra projects,
64
+ # hence we only run these steps if it's not an infra project:
65
+ " $SCRIPTS_DIR /check-sourceforge-availability.sh"
66
+ " $SCRIPTS_DIR /update-readme.sh" $PROJECT $RELEASE_VERSION " $WORKSPACE /README.md"
67
+ " $SCRIPTS_DIR /update-changelog.sh" $PROJECT $RELEASE_VERSION " $WORKSPACE /changelog.txt"
68
+ fi
62
69
" $SCRIPTS_DIR /validate-release.sh" $PROJECT $RELEASE_VERSION
63
70
" $SCRIPTS_DIR /update-version.sh" $PROJECT $RELEASE_VERSION $INHERITED_VERSION
64
71
" $SCRIPTS_DIR /create-tag.sh" $PROJECT $RELEASE_VERSION
0 commit comments