Skip to content

Commit

Permalink
Autorelease should actually autorelease
Browse files Browse the repository at this point in the history
  • Loading branch information
chingor13 committed Jun 26, 2019
1 parent c166c13 commit bb7d80d
Showing 1 changed file with 8 additions and 8 deletions.
16 changes: 8 additions & 8 deletions .kokoro/release/stage.sh
Original file line number Diff line number Diff line change
Expand Up @@ -26,16 +26,16 @@ pushd $(dirname "$0")/../../
setup_environment_secrets
create_settings_xml_file "settings.xml"

AUTORELEASE="false"
if [[ -n "${AUTORELEASE_PR}" ]]
then
AUTORELEASE="true"
fi

mvn clean install deploy -B \
--settings ${MAVEN_SETTINGS_FILE} \
-DperformRelease=true \
-Dgpg.executable=gpg \
-Dgpg.passphrase=${GPG_PASSPHRASE} \
-Dgpg.homedir=${GPG_HOMEDIR} \
-Ddeploy.autorelease=${AUTORELEASE}
-Dgpg.homedir=${GPG_HOMEDIR}

if [[ -n "${AUTORELEASE_PR}" ]]
then
mvn nexus-staging:release -B \
-DperformRelease=true \
--settings=settings.xml
fi

0 comments on commit bb7d80d

Please sign in to comment.