We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent f25b651 commit a2df3ceCopy full SHA for a2df3ce
1 file changed
gradle/promote.gradle
@@ -9,15 +9,7 @@ if (!hasProperty("signing.keyId")) {
9
10
def pgpKeyContent = System.getenv('SIGNING_PRIVATE_KEY_BASE64')
11
if (pgpKeyContent != null) {
12
- def tmpDir = new File("$rootProject.rootDir/tmp")
13
- mkdir tmpDir
14
- def keyFile = new File("$tmpDir/key.pgp")
15
- keyFile.createNewFile()
16
- def os = keyFile.newDataOutputStream()
17
- os.write(pgpKeyContent.decodeBase64())
18
- os.close()
19
-
20
- ext['signing.secretKeyRingFile'] = keyFile.absolutePath
+ ext['signing.key'] = new String(pgpKeyContent.decodeBase64())
21
}
22
23
0 commit comments