Skip to content

Commit

Permalink
ci/fix publishing (#14)
Browse files Browse the repository at this point in the history
  • Loading branch information
jkoenig134 authored Oct 11, 2024
1 parent 8a1d6c6 commit 6c71305
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -97,17 +97,17 @@ publishing {
}

signing {
def signingKey = findProperty("signingKey") ?: System.getenv("GPG_KEY")
def signingPassword = findProperty("signingPassword") ?: System.getenv("GPG_KEY_PASSWORD")
def signingKey = System.getenv("GPG_KEY")
def signingPassword = System.getenv("GPG_KEY_PASSWORD")
useInMemoryPgpKeys(signingKey, signingPassword)

sign publishing.publications.mavenJava
}

nmcp {
publishAllProjectsProbablyBreakingProjectIsolation {
username = findProperty("sonatypeUsername") ?: System.getenv("SONATYPE_USERNAME")
password = findProperty("sonatypePassword") ?: System.getenv("SONATYPE_PASSWORD")
username = System.getenv("SONATYPE_USERNAME")
password = System.getenv("SONATYPE_PASSWORD")
publicationType = "AUTOMATIC"
}
}
Expand Down

0 comments on commit 6c71305

Please sign in to comment.