File tree Expand file tree Collapse file tree 2 files changed +22
-6
lines changed
google-auth-library-java/.kokoro/release Expand file tree Collapse file tree 2 files changed +22
-6
lines changed Original file line number Diff line number Diff line change 1515
1616set -eo pipefail
1717
18+ # STAGING_REPOSITORY_ID must be set
19+ if [ -z " ${STAGING_REPOSITORY_ID} " ]; then
20+ echo " Missing STAGING_REPOSITORY_ID environment variable"
21+ exit 1
22+ fi
23+
1824source $( dirname " $0 " ) /common.sh
19- MAVEN_SETTINGS_FILE=$( realpath $( dirname " $0 " ) /../) /settings.xml
20- pushd $( dirname " $0 " ) /../
25+ pushd $( dirname " $0 " ) /../../
2126
2227setup_environment_secrets
2328create_settings_xml_file " settings.xml"
2429
25- mvn nexus-staging:drop -DperformRelease=true
30+ mvn nexus-staging:drop -B \
31+ --settings=settings.xml \
32+ -DstagingRepositoryId=${STAGING_REPOSITORY_ID}
Original file line number Diff line number Diff line change 1515
1616set -eo pipefail
1717
18+ # STAGING_REPOSITORY_ID must be set
19+ if [ -z " ${STAGING_REPOSITORY_ID} " ]; then
20+ echo " Missing STAGING_REPOSITORY_ID environment variable"
21+ exit 1
22+ fi
23+
1824source $( dirname " $0 " ) /common.sh
19- MAVEN_SETTINGS_FILE= $( realpath $( dirname " $0 " ) /../ ) /settings.xml
20- pushd $( dirname " $0 " ) /../
25+
26+ pushd $( dirname " $0 " ) /../../
2127
2228setup_environment_secrets
2329create_settings_xml_file " settings.xml"
2430
25- mvn nexus-staging:release -DperformRelease=true
31+ mvn nexus-staging:release -B \
32+ -DperformRelease=true \
33+ --settings=settings.xml \
34+ -DstagingRepositoryId=${STAGING_REPOSITORY_ID}
You can’t perform that action at this time.
0 commit comments