From 27888b02d0f81da2ab179da2ce8602a90b8136b6 Mon Sep 17 00:00:00 2001 From: Wojciech Piwonski Date: Fri, 15 Jun 2018 12:39:30 +0200 Subject: [PATCH] gpg key properties added --- .gitlab-ci.yml | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index 152b955..4a5740c 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -33,6 +33,11 @@ release_sonatype_library: - "./gradlew build" - "echo \"\nSONATYPE_NEXUS_USERNAME=$SONATYPE_NEXUS_USERNAME\" >> gradle.properties" - "echo \"\nSONATYPE_NEXUS_PASSWORD=$SONATYPE_NEXUS_PASSWORD\" >> gradle.properties" + - "echo \"\nsigning.keyId=$GPG_KEY_ID\" >> gradle.properties" + - "echo \"\nsigning.password=$GPG_PASSPHRASE\" >> gradle.properties" + - "echo \"\nsigning.secretKeyRingFile=$GPG_KEY_RING_FILE\" >> gradle.properties" + - "echo \"$GPG_KEY\" > /tmp/key" + - "gpg --import /tmp/key" - "./gradlew uploadArchives" tags: - android