Remove PGP signing from publish task
MODIFY
.circleci/config.yml
.circleci/config.yml
@@ -201,16 +201,10 @@ jobs:
- restore_cache:
<<: *cache_keys
- - run:
- name: Decode Signing Key
- command: echo $PGP_KEY_FILE | base64 --decode > /home/circleci/dd-trace-java/.circleci/secring.gpg
-
- deploy:
name: Publish master to Artifactory
command: |
- ./gradlew -Psigning.keyId=${PGP_KEY_ID} \
- -Psigning.password=${PGP_KEY_PASS} \
- -Psigning.secretKeyRingFile=/home/circleci/dd-trace-java/.circleci/secring.gpg \
+ ./gradlew \
-PbintrayUser=${BINTRAY_USER} \
-PbintrayApiKey=${BINTRAY_API_KEY} \
-PbuildInfo.build.number=${CIRCLE_BUILD_NUM} \

MODIFY
gradle/publish.gradle
gradle/publish.gradle
apply plugin: "maven"
apply plugin: "com.jfrog.artifactory"
apply plugin: 'com.jfrog.bintray'
-apply plugin: "signing"
afterEvaluate {
assert description: "Project $project.path is published, must have a description"
@@ -36,13 +35,6 @@ if (!isRoot) {
apply from: "$rootDir/gradle/version.gradle"
apply from: "${rootDir}/gradle/pom.gradle"
- def isCI = Boolean.parseBoolean("$System.env.CI")
-
- signing {
- required = isCI
- sign configurations.archives
- }
-
configurations {
configurations {
all {

Remove PGP signing from publish task