Skip to content

Commit

Permalink
Override prompt on nexus:staging-promote to avoid infinite loop
Browse files Browse the repository at this point in the history
  • Loading branch information
Stuart Sierra and Russ Olsen committed Jan 27, 2012
1 parent b278121 commit 5fbfca8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion script/build
Expand Up @@ -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 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-close
mvn nexus:staging-promote mvn nexus:staging-promote -Dnexus.promote.autoSelectOverride=true
else else
echo "Skipping Maven deployment and Git push because we are not on Hudson." echo "Skipping Maven deployment and Git push because we are not on Hudson."
fi fi

0 comments on commit 5fbfca8

Please sign in to comment.