Skip to content

Commit 0ed9df1

Browse files
sebersolebeikov
authored andcommitted
Use env-vars for secrets used during release for ORM and HR (Gradle builds) rather than Project properties
1 parent 21838da commit 0ed9df1

File tree

1 file changed

+2
-5
lines changed

1 file changed

+2
-5
lines changed

prepare-release.sh

Lines changed: 2 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -49,11 +49,8 @@ if [ "$PROJECT" == "orm" ] || [ "$PROJECT" == "reactive" ]; then
4949
# tags the version
5050
# changes the version to the provided development version
5151
./gradlew clean releasePrepare -x test --no-scan --no-daemon --no-build-cache \
52-
-PreleaseVersion=$RELEASE_VERSION -PdevelopmentVersion=$DEVELOPMENT_VERSION -PgitRemote=origin -PgitBranch=$BRANCH -PdocPublishBranch="production" \
53-
-PSONATYPE_OSSRH_USER=$OSSRH_USER -PSONATYPE_OSSRH_PASSWORD=$OSSRH_PASSWORD \
54-
-Pgradle.publish.key=$PLUGIN_PORTAL_USERNAME -Pgradle.publish.secret=$PLUGIN_PORTAL_PASSWORD \
55-
-PhibernatePublishUsername=$OSSRH_USER -PhibernatePublishPassword=$OSSRH_PASSWORD \
56-
-DsigningPassword=$RELEASE_GPG_PASSPHRASE -DsigningKeyFile=$RELEASE_GPG_PRIVATE_KEY_PATH
52+
-PreleaseVersion=$RELEASE_VERSION -PdevelopmentVersion=$DEVELOPMENT_VERSION
53+
-PgitRemote=origin
5754
else
5855
if [[ "$PROJECT" != "tools" && "$PROJECT" != "hcann" && ! $PROJECT =~ ^infra-.+ ]]; then
5956
# These projects do not have a distribution bundle archive,

0 commit comments

Comments
 (0)