File tree Expand file tree Collapse file tree 1 file changed +10
-8
lines changed
Expand file tree Collapse file tree 1 file changed +10
-8
lines changed Original file line number Diff line number Diff line change @@ -118,11 +118,13 @@ publishing {
118118 }
119119}
120120
121- signing {
122- def signingKeyId = System . getenv(' SIGNING_KEY_ID' )
123- def signingKey = System . getenv(' SIGNING_KEY' )
124- def signingPassword = System . getenv(' SIGNING_PASSWORD' )
125- useInMemoryPgpKeys(signingKeyId, signingKey, signingPassword)
126- sign configurations. archives
127- sign publishing. publications. mavenJava
128- }
121+ if (isRelease) {
122+ signing {
123+ def signingKeyId = System . getenv(' SIGNING_KEY_ID' )
124+ def signingKey = System . getenv(' SIGNING_KEY' )
125+ def signingPassword = System . getenv(' SIGNING_PASSWORD' )
126+ useInMemoryPgpKeys(signingKeyId, signingKey, signingPassword)
127+ sign configurations. archives
128+ sign publishing. publications. mavenJava
129+ }
130+ }
You can’t perform that action at this time.
0 commit comments