Skip to content

Commit 1be544b

Browse files
committed
Revert "Add branches for infra projects"
This reverts commit c3ed396. This reverts commit 6c0560e. This reverts commit 1d4f428.
1 parent c3ed396 commit 1be544b

File tree

3 files changed

+2
-19
lines changed

3 files changed

+2
-19
lines changed

prepare-release.sh

+1-8
Original file line numberDiff line numberDiff line change
@@ -54,15 +54,8 @@ if [ "$PROJECT" == "orm" ]; then
5454
-Pgradle.publish.key=$PLUGIN_PORTAL_USERNAME -Pgradle.publish.secret=$PLUGIN_PORTAL_PASSWORD \
5555
-PhibernatePublishUsername=$OSSRH_USER -PhibernatePublishPassword=$OSSRH_PASSWORD \
5656
-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
6457
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)
6659
"$SCRIPTS_DIR/check-sourceforge-availability.sh"
6760
"$SCRIPTS_DIR/update-readme.sh" $PROJECT $RELEASE_VERSION "$WORKSPACE/README.md"
6861
"$SCRIPTS_DIR/update-changelog.sh" $PROJECT $RELEASE_VERSION "$WORKSPACE/changelog.txt"

publish.sh

-2
Original file line numberDiff line numberDiff line change
@@ -99,8 +99,6 @@ elif [ "$PROJECT" == "reactive" ]; then
9999
fi
100100
# Publish the artifact to OSSRH
101101
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
104102
else
105103
bash -xe "$SCRIPTS_DIR/deploy.sh" "$PROJECT"
106104

release.sh

+1-9
Original file line numberDiff line numberDiff line change
@@ -110,8 +110,6 @@ elif [ "$PROJECT" == "orm" ]; then
110110
JIRA_PROJECT="HHH"
111111
elif [ "$PROJECT" == "reactive" ]; then
112112
JIRA_PROJECT="HREACT"
113-
elif [[ "$PROJECT" == "infra-theme" || "$PROJECT" == "infra-extensions" ]]; then
114-
echo 'No JIRA project available'
115113
else
116114
echo "ERROR: Unknown project name $PROJECT"
117115
usage
@@ -188,13 +186,7 @@ if [ "$PUSH_CHANGES" != "true" ]; then
188186
ADDITIONAL_OPTIONS="-d"
189187
fi
190188

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"
198190

199191
#bash -xe "$SCRIPTS_DIR/jira-release.sh" $ADDITIONAL_OPTIONS "$JIRA_PROJECT" "$RELEASE_VERSION_BASIS" "$NEXT_VERSION_BASIS"
200192

0 commit comments

Comments
 (0)