Permalink
Browse files

Override prompt on nexus: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 b278121 commit 5fbfca816a15bbbc25c867799cf40700501aab8e
Showing with 1 addition and 1 deletion.
  1. +1 −1 script/build
View
@@ -54,7 +54,7 @@ if [ "$HUDSON" == "true" ]; then
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
+ mvn nexus:staging-promote -Dnexus.promote.autoSelectOverride=true
else
echo "Skipping Maven deployment and Git push because we are not on Hudson."
fi

0 comments on commit 5fbfca8

Please sign in to comment.