From 2abf941c6698f482c88483b08859e475d1ea4d85 Mon Sep 17 00:00:00 2001 From: Wisen Tanasa Date: Fri, 1 Apr 2016 19:26:29 +0100 Subject: [PATCH] #7 Add passphrase configuration for signing purpose. --- README.md | 2 +- build.gradle | 1 + 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/README.md b/README.md index 06b72b4..f73c916 100644 --- a/README.md +++ b/README.md @@ -99,7 +99,7 @@ These configurations are set via Java System Properties e.g. `groovy -Dgq.tmp=/e 1. Create a new tag for the next release: `git tag ` 2. Check if axion-plugin is successfully picking up the intended version `./gradlew currentVersion` -3. Upload to jcenter: `./gradlew bintrayUpload -PbintrayUser=<> -PbintrayApiKey=<>` +3. Upload to jcenter: `./gradlew bintrayUpload -PbintrayUser=<> -PbintrayApiKey=<> -PgpgPassphrase='<>'` 4. Push tags to github: `git push --tags` # Credits diff --git a/build.gradle b/build.gradle index 893c535..85ab88e 100644 --- a/build.gradle +++ b/build.gradle @@ -149,6 +149,7 @@ bintray { name = project.version gpg { sign = true + passphrase = project.hasProperty('gpgPassphrase') ? project.property('gpgPassphrase') : System.getenv('GPG_PASSPHRASE') } } }