Skip to content

Commit

Permalink
Fix decoding of useInMemoryPgpKeys
Browse files Browse the repository at this point in the history
  • Loading branch information
HopeBaron committed Oct 7, 2021
1 parent 07a5459 commit 93fe1c2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion buildSrc/src/main/kotlin/kord-publishing.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -69,7 +69,7 @@ tasks {
val signingKey = findProperty("signingKey")?.toString()
val signingPassword = findProperty("signingPassword")?.toString()
if (signingKey != null && signingPassword != null) {
useInMemoryPgpKeys(Base64.getDecoder().decode(signingKey).toString(), signingPassword)
useInMemoryPgpKeys(String(Base64.getDecoder().decode(signingKey)), signingPassword)
}
sign(publishing.publications[Library.name])
}
Expand Down

0 comments on commit 93fe1c2

Please sign in to comment.