File tree 3 files changed +2
-19
lines changed
3 files changed +2
-19
lines changed Original file line number Diff line number Diff line change @@ -54,15 +54,8 @@ if [ "$PROJECT" == "orm" ]; then
54
54
-Pgradle.publish.key=$PLUGIN_PORTAL_USERNAME -Pgradle.publish.secret=$PLUGIN_PORTAL_PASSWORD \
55
55
-PhibernatePublishUsername=$OSSRH_USER -PhibernatePublishPassword=$OSSRH_PASSWORD \
56
56
-DsigningPassword=$RELEASE_GPG_PASSPHRASE -DsigningKeyFile=$RELEASE_GPG_PRIVATE_KEY_PATH
57
- elif [[ " $PROJECT " == " infra-theme" || " $PROJECT " == " infra-extensions" ]]; then
58
- ./mvnw release:prepare \
59
- -Dtag=$RELEASE_VERSION \
60
- -DreleaseVersion=$RELEASE_VERSION \
61
- -DdevelopmentVersion=$DEVELOPMENT_VERSION \
62
- -DperformRelease=true \
63
- -Dmaven.resolver.transport=wagon
64
57
elif [ " $PROJECT " != " reactive" ]; then
65
- # Hibernate Reactive does these checks in the `cirelease` task (called by publish.sh)
58
+ # Hibernate Reactive does these checks in the `cirelease` task (called by publish.sh)
66
59
" $SCRIPTS_DIR /check-sourceforge-availability.sh"
67
60
" $SCRIPTS_DIR /update-readme.sh" $PROJECT $RELEASE_VERSION " $WORKSPACE /README.md"
68
61
" $SCRIPTS_DIR /update-changelog.sh" $PROJECT $RELEASE_VERSION " $WORKSPACE /changelog.txt"
Original file line number Diff line number Diff line change @@ -99,8 +99,6 @@ elif [ "$PROJECT" == "reactive" ]; then
99
99
fi
100
100
# Publish the artifact to OSSRH
101
101
exec_or_dry_run ./gradlew publishToSonatype closeAndReleaseSonatypeStagingRepository -PsontaypeOssrhUser=$OSSRH_USER -PsonatypeOssrgPassword=$OSSRH_PASSWORD
102
- elif [[ " $PROJECT " == " infra-theme" || " $PROJECT " == " infra-extensions" ]]; then
103
- exec_or_dry_run ./mvnw release:perform -DperformRelease=true -Dmaven.resolver.transport=wagon
104
102
else
105
103
bash -xe " $SCRIPTS_DIR /deploy.sh" " $PROJECT "
106
104
Original file line number Diff line number Diff line change @@ -110,8 +110,6 @@ elif [ "$PROJECT" == "orm" ]; then
110
110
JIRA_PROJECT=" HHH"
111
111
elif [ " $PROJECT " == " reactive" ]; then
112
112
JIRA_PROJECT=" HREACT"
113
- elif [[ " $PROJECT " == " infra-theme" || " $PROJECT " == " infra-extensions" ]]; then
114
- echo ' No JIRA project available'
115
113
else
116
114
echo " ERROR: Unknown project name $PROJECT "
117
115
usage
@@ -188,13 +186,7 @@ if [ "$PUSH_CHANGES" != "true" ]; then
188
186
ADDITIONAL_OPTIONS=" -d"
189
187
fi
190
188
191
- if [ " $PROJECT " == " infra-theme" || " $PROJECT " == " infra-extensions" ]; then
192
- # infra projects are using different release plugins than main maven-based projects,
193
- # and they require both release and development versions:
194
- bash -xe " $SCRIPTS_DIR /prepare-release.sh" " $PROJECT " " $RELEASE_VERSION " " $DEVELOPMENT_VERSION "
195
- else
196
- bash -xe " $SCRIPTS_DIR /prepare-release.sh" " $PROJECT " " $RELEASE_VERSION "
197
- fi
189
+ bash -xe " $SCRIPTS_DIR /prepare-release.sh" " $PROJECT " " $RELEASE_VERSION "
198
190
199
191
# bash -xe "$SCRIPTS_DIR/jira-release.sh" $ADDITIONAL_OPTIONS "$JIRA_PROJECT" "$RELEASE_VERSION_BASIS" "$NEXT_VERSION_BASIS"
200
192
You can’t perform that action at this time.
0 commit comments