Files
spring-ws/ci/rc-release.sh
Greg L. Turnquist a479ef87f8 Polishing.
2023-10-23 16:19:58 -05:00

15 lines
308 B
Bash
Executable File

#!/bin/bash -x
set -euo pipefail
STAGING_REPOSITORY_ID=$1
echo 'Release to Maven central...'
MAVEN_OPTS="-Duser.name=spring-builds+jenkins -Duser.home=/tmp/jenkins-home " ./mvnw \
-s settings.xml \
-Pcentral \
-DstagingRepositoryId="${STAGING_REPOSITORY_ID}" \
nexus-staging:rc-release