Skip to content

Commit

Permalink
build: always sign via useGpgCmd() (#16)
Browse files Browse the repository at this point in the history
Signed-off-by: Jendrik Johannes <jendrik.johannes@gmail.com>
  • Loading branch information
jjohannes authored Nov 20, 2024
1 parent 42901b2 commit c2274d2
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 8 deletions.
6 changes: 2 additions & 4 deletions build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -106,10 +106,8 @@ val publishSigningEnabled =

if (publishSigningEnabled) {
signing {
useInMemoryPgpKeys(
providers.environmentVariable("SIGNING_KEY").get(),
providers.environmentVariable("SIGNING_PASSPHRASE").get()
)
sign(publishing.publications)
useGpgCmd()
}
}

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -35,10 +35,6 @@ if (publishSigningEnabled) {
signing {
sign(publishing.publications)
useGpgCmd()
useInMemoryPgpKeys(
providers.environmentVariable("SIGNING_KEY").get(),
providers.environmentVariable("SIGNING_PASSPHRASE").get()
)
}
}

Expand Down

0 comments on commit c2274d2

Please sign in to comment.