Skip to content

Commit 6e146cb

Browse files
beikovDavideD
authored andcommitted
Disable gradle daemon for ORM release scripts
1 parent 69c64db commit 6e146cb

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

prepare-release.sh

+1-1
Original file line numberDiff line numberDiff line change
@@ -48,7 +48,7 @@ if [ "$PROJECT" == "orm" ]; then
4848
# update changelog from JIRA
4949
# tags the version
5050
# changes the version to the provided development version
51-
./gradlew clean releasePrepare -x test --no-scan \
51+
./gradlew clean releasePrepare -x test --no-scan --no-daemon \
5252
-PreleaseVersion=$RELEASE_VERSION -PdevelopmentVersion=$DEVELOPMENT_VERSION -PgitRemote=origin -PgitBranch=$BRANCH \
5353
-PSONATYPE_OSSRH_USER=$OSSRH_USER -PSONATYPE_OSSRH_PASSWORD=$OSSRH_PASSWORD \
5454
-Pgradle.publish.key=$PLUGIN_PORTAL_USERNAME -Pgradle.publish.secret=$PLUGIN_PORTAL_PASSWORD \

publish.sh

+1-1
Original file line numberDiff line numberDiff line change
@@ -76,7 +76,7 @@ RELEASE_VERSION_FAMILY=$(echo "$RELEASE_VERSION" | sed -E 's/^([0-9]+\.[0-9]+).*
7676
if [ "$PROJECT" == "orm" ]; then
7777
git config user.email [email protected]
7878
git config user.name Hibernate-CI
79-
exec_or_dry_run ./gradlew releasePerform closeAndReleaseSonatypeStagingRepository -x test --no-scan \
79+
exec_or_dry_run ./gradlew releasePerform closeAndReleaseSonatypeStagingRepository -x test --no-scan --no-daemon \
8080
-PreleaseVersion=$RELEASE_VERSION -PdevelopmentVersion=$DEVELOPMENT_VERSION -PgitRemote=origin -PgitBranch=$BRANCH \
8181
-PSONATYPE_OSSRH_USER=$OSSRH_USER -PSONATYPE_OSSRH_PASSWORD=$OSSRH_PASSWORD \
8282
-Pgradle.publish.key=$PLUGIN_PORTAL_USERNAME -Pgradle.publish.secret=$PLUGIN_PORTAL_PASSWORD \

0 commit comments

Comments
 (0)