Skip to content

Commit

Permalink
[tinker] Use keyring file instead of ascii pgp key content.
Browse files Browse the repository at this point in the history
  • Loading branch information
tys282000 committed Apr 17, 2021
1 parent 8490478 commit 22011ea
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions gradle/WeChatPublish.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -183,10 +183,9 @@ class WeChatPublishExtension {

private void emitSigningConfig(Project project) {
project.ext['signing.keyId'] = project.findProperty("signingKeyId")
project.ext['signing.password'] = project.findProperty("signingPassword")
project.ext['signing.secretKeyRingFile'] = project.findProperty("signingSecretKeyRingFile")
project.signing {
def signingKey = project.findProperty("signingKey")
def signingPassword = project.findProperty("signingPassword")
useInMemoryPgpKeys(signingKey, signingPassword)
project.publishing.publications.all { publication ->
sign publication
}
Expand Down

0 comments on commit 22011ea

Please sign in to comment.