We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent c166c13 commit bb7d80dCopy full SHA for bb7d80d
.kokoro/release/stage.sh
@@ -26,16 +26,16 @@ pushd $(dirname "$0")/../../
26
setup_environment_secrets
27
create_settings_xml_file "settings.xml"
28
29
-AUTORELEASE="false"
30
-if [[ -n "${AUTORELEASE_PR}" ]]
31
-then
32
- AUTORELEASE="true"
33
-fi
34
-
35
mvn clean install deploy -B \
36
--settings ${MAVEN_SETTINGS_FILE} \
37
-DperformRelease=true \
38
-Dgpg.executable=gpg \
39
-Dgpg.passphrase=${GPG_PASSPHRASE} \
40
- -Dgpg.homedir=${GPG_HOMEDIR} \
41
- -Ddeploy.autorelease=${AUTORELEASE}
+ -Dgpg.homedir=${GPG_HOMEDIR}
+
+if [[ -n "${AUTORELEASE_PR}" ]]
+then
+ mvn nexus-staging:release -B \
+ -DperformRelease=true \
+ --settings=settings.xml
+fi
0 commit comments