Skip to content

Commit

Permalink
gpg key properties added
Browse files Browse the repository at this point in the history
  • Loading branch information
piwonski committed Jun 15, 2018
1 parent 68b9044 commit 27888b0
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions .gitlab-ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 27888b0

Please sign in to comment.