Browse files

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

  • Loading branch information...
Stuart Sierra and Russ Olsen
Stuart Sierra and Russ Olsen committed Jan 27, 2012
1 parent 5fbfca8 commit bbc1ae77d1494fc883dee92632df31184f2e58a7
Showing with 1 addition and 2 deletions.
  1. +1 −2 script/build
@@ -53,8 +53,7 @@ if [ "$HUDSON" == "true" ]; then
git push origin "$TAG"
mvn gpg:sign-and-deploy-file -Durl= -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
echo "Skipping Maven deployment and Git push because we are not on Hudson."

0 comments on commit bbc1ae7

Please sign in to comment.