Skip to content

Commit

Permalink
update env var name
Browse files Browse the repository at this point in the history
  • Loading branch information
luca992 committed Oct 16, 2023
1 parent 5f15485 commit 3b94c58
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -104,8 +104,8 @@ publishing {
name = "mavencentral"
url = uri(if (version.toString().endsWith("SNAPSHOT")) snapshotsUrl else releasesUrl)
credentials {
username = System.getenv("SONATYPE_NEXUS_USERNAME") ?: properties["SONATYPE_NEXUS_USERNAME"].toString()
password = System.getenv("SONATYPE_NEXUS_PASSWORD") ?: properties["SONATYPE_NEXUS_PASSWORD"].toString()
username = System.getenv("ossrh.username") ?: properties["ossrh.username"].toString()
password = System.getenv("ossrh.password") ?: properties["ossrh.password"].toString()
}
}
}
Expand Down

0 comments on commit 3b94c58

Please sign in to comment.