Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

Use staging-release instead of staging-promote to avoid infinite loop

  • Loading branch information...
commit bbc1ae77d1494fc883dee92632df31184f2e58a7 1 parent 5fbfca8
Stuart Sierra and Russ Olsen authored
Showing with 1 addition and 2 deletions.
  1. +1 −2  script/build
View
3  script/build
@@ -53,8 +53,7 @@ if [ "$HUDSON" == "true" ]; then
git push origin "$TAG"
mvn gpg:sign-and-deploy-file -Durl=https://oss.sonatype.org/service/local/staging/deploy/maven2/ -DrepositoryId=sonatype-nexus-staging -DpomFile="$POM_FILE" -Dfile="$JAR_FILE"
- mvn nexus:staging-close
- mvn nexus:staging-promote -Dnexus.promote.autoSelectOverride=true
+ mvn nexus:staging-close nexus:staging-release -DtargetRepositoryId=releases -Dnexus.promote.autoSelectOverride=true
else
echo "Skipping Maven deployment and Git push because we are not on Hudson."
fi
Please sign in to comment.
Something went wrong with that request. Please try again.