Files
spring-ws/ci/rc-release.sh
Greg L. Turnquist 297d9fc941 Use spring-builds+jenkins for ge.spring.io.
To show the right gravatar, apply the proper user.name property.
2023-10-16 09:25:53 -05:00

15 lines
307 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