Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
Adding automatic close and release in central
  • Loading branch information
aweigold committed Feb 9, 2016
1 parent dc7072e commit 6f7c9eb
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion .travis/upload_nexus.sh
@@ -1,4 +1,4 @@
#!/bin/bash
export PUBLISH=true
./gradlew uploadArchives -Psigning.password=$signingPassword -PsonatypeUsername=$sonatypeUsername -PsonatypePassword=$sonatypePassword
./gradlew uploadArchives -Psigning.password=$signingPassword -PnexusUsername=$sonatypeUsername -PnexusUsername=$sonatypePassword
./gradlew closeAndPromoteRepository -PnexusUsername=$sonatypeUsername -PnexusPassword=$sonatypePassword
2 changes: 1 addition & 1 deletion build.gradle
Expand Up @@ -87,7 +87,7 @@ if (System.getenv("PUBLISH") != null){
beforeDeployment { MavenDeployment deployment -> signing.signPom(deployment) }

repository(url: "https://oss.sonatype.org/service/local/staging/deploy/maven2/") {
authentication(userName: sonatypeUsername, password: sonatypePassword)
authentication(userName: nexusUsername, password: nexusUsername)
}

pom.project {
Expand Down

0 comments on commit 6f7c9eb

Please sign in to comment.