Remove PGP signing from publish task
This commit is contained in:
parent
9b3019c612
commit
0b55212473
|
@ -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} \
|
||||
|
|
|
@ -19,7 +19,6 @@
|
|||
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 {
|
||||
|
|
Loading…
Reference in New Issue