Close and release the staging repository at the end
Motivation: We can just close and release the staging repository at the end and so remove the extra manual steps Modification: Execute extra goals for close and release Result: Less manual actions needed for release
This commit is contained in:
parent
b0ec37d686
commit
fe041e8e43
@ -29,4 +29,6 @@ export JAVA_HOME="$JAVA8_HOME"
|
|||||||
|
|
||||||
./mvnw -Psonatype-oss-release,full,uber-staging -pl all,tarball clean package gpg:sign org.sonatype.plugins:nexus-staging-maven-plugin:deploy -DstagingRepositoryId="$1" -DnexusUrl=https://oss.sonatype.org -DserverId=sonatype-nexus-staging -DskipTests=true
|
./mvnw -Psonatype-oss-release,full,uber-staging -pl all,tarball clean package gpg:sign org.sonatype.plugins:nexus-staging-maven-plugin:deploy -DstagingRepositoryId="$1" -DnexusUrl=https://oss.sonatype.org -DserverId=sonatype-nexus-staging -DskipTests=true
|
||||||
|
|
||||||
|
./mvnw org.sonatype.plugins:nexus-staging-maven-plugin:rc-close org.sonatype.plugins:nexus-staging-maven-plugin:rc-release -DstagingRepositoryId="$1" -DnexusUrl=https://oss.sonatype.org -DserverId=sonatype-nexus-staging -DskipTests=true
|
||||||
|
|
||||||
git checkout "$BRANCH"
|
git checkout "$BRANCH"
|
||||||
|
Loading…
Reference in New Issue
Block a user