Skip to content

Commit

Permalink
Receive GPG key while publishing artifacts (#243)
Browse files Browse the repository at this point in the history
* Receive GPG key while publishing artifacts

* Build on CircleCI

* Changelog
  • Loading branch information
rbreslow authored Jun 10, 2020
1 parent 57a1e9f commit 8cd2f74
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 3 deletions.
7 changes: 4 additions & 3 deletions .circleci/config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -25,10 +25,10 @@ aliases:
- run:
name: "Import signing key"
command: |
gpg --keyserver keyserver.ubuntu.com \
--recv-keys 0x13E9AA1D8153E95E && \
echo "${GPG_KEY}" | base64 -d > signing_key.asc && \
gpg --batch \
--passphrase "${GPG_PASSPHRASE}" \
--import signing_key.asc
gpg --import signing_key.asc
- run:
name: Executing cipublish
command: ./scripts/cipublish
Expand Down Expand Up @@ -96,6 +96,7 @@ workflows:
- develop
- /release\/.*/
- /hotfix\/.*/
- feature/jrb/receive-gpg-key

jobs:
# Execute cibuild in machine executor so we can use our existing
Expand Down
4 changes: 4 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,10 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0

## [Unreleased]

### Added

- Receive GPG key while publishing artifacts [#243](https://github.com/geotrellis/geotrellis-contrib/pull/243)

### Changed

- Artifacts are published to https://oss.sonatype.org automatically via CircleCI
Expand Down

0 comments on commit 8cd2f74

Please sign in to comment.