Skip to content

Commit

Permalink
Enable signing if possible
Browse files Browse the repository at this point in the history
  • Loading branch information
DRSchlaubi committed Jan 24, 2024
1 parent a35fb24 commit b66e5b4
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion buildSrc/src/main/kotlin/kord-publishing.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -75,5 +75,7 @@ signing {
val secretKey = getenv("SIGNING_KEY")?.let { String(Base64.getDecoder().decode(it)) }
val password = getenv("SIGNING_PASSWORD")
useInMemoryPgpKeys(secretKey, password)
//sign(publishing.publications)
if (secretKey != null && password != null) {
sign(publishing.publications)
}
}

0 comments on commit b66e5b4

Please sign in to comment.