Files
spring-ws/ci/rc-close.sh
Greg L. Turnquist 266f10564a Use spring-builds+jenkins for ge.spring.io.
To show the right gravatar, apply the proper user.name property.
2023-10-16 09:24:02 -05:00

15 lines
314 B
Bash
Executable File

#!/bin/bash -x
set -euo pipefail
STAGING_PROFILE_ID=$1
echo 'Closing remote repository on Maven Central...'
MAVEN_OPTS="-Duser.name=spring-builds+jenkins -Duser.home=/tmp/jenkins-home" ./mvnw \
-s settings.xml \
-Pcentral \
-DstagingRepositoryId=${STAGING_PROFILE_ID} \
nexus-staging:rc-close