Skip to content

Commit bb7d80d

Browse files
committed
Autorelease should actually autorelease
1 parent c166c13 commit bb7d80d

File tree

1 file changed

+8
-8
lines changed

1 file changed

+8
-8
lines changed

.kokoro/release/stage.sh

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -26,16 +26,16 @@ pushd $(dirname "$0")/../../
2626
setup_environment_secrets
2727
create_settings_xml_file "settings.xml"
2828

29-
AUTORELEASE="false"
30-
if [[ -n "${AUTORELEASE_PR}" ]]
31-
then
32-
AUTORELEASE="true"
33-
fi
34-
3529
mvn clean install deploy -B \
3630
--settings ${MAVEN_SETTINGS_FILE} \
3731
-DperformRelease=true \
3832
-Dgpg.executable=gpg \
3933
-Dgpg.passphrase=${GPG_PASSPHRASE} \
40-
-Dgpg.homedir=${GPG_HOMEDIR} \
41-
-Ddeploy.autorelease=${AUTORELEASE}
34+
-Dgpg.homedir=${GPG_HOMEDIR}
35+
36+
if [[ -n "${AUTORELEASE_PR}" ]]
37+
then
38+
mvn nexus-staging:release -B \
39+
-DperformRelease=true \
40+
--settings=settings.xml
41+
fi

0 commit comments

Comments
 (0)