Skip to content

Commit

Permalink
Merge pull request #83 from BESTSELLER/goreleaser
Browse files Browse the repository at this point in the history
Goreleaser
  • Loading branch information
wrighbr authored Feb 18, 2021
2 parents a9b4f38 + 0479977 commit 54c1a0f
Showing 1 changed file with 9 additions and 8 deletions.
17 changes: 9 additions & 8 deletions .circleci/config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,17 +9,18 @@ commands:
release-type:
type: string
steps:
- run:
name: Install GoReleaser
command: |
curl -sfL https://install.goreleaser.com/github.com/goreleaser/goreleaser.sh | sh
sudo mv ./bin/goreleaser /usr/bin/goreleaser
rm -rf ./bin
# - run:
# name: Install GoReleaser
# command: |
# curl -sfL https://install.goreleaser.com/github.com/goreleaser/goreleaser.sh | sh
# sudo mv ./bin/goreleaser /usr/bin/goreleaser
# rm -rf ./bin
- run:
name: Import private key
command: |
source /tmp/secrets.env
echo -e "$GPG_PRIVATE_KEY" | base64 --decode > $HOME/private.key
apk add gnupg
echo -e "$GPG_PRIVATE_KEY" | base64 -d > $HOME/private.key
gpg --pinentry-mode loopback --batch --yes --import $HOME/private.key
- run:
name: Run GoReleaser
Expand All @@ -40,7 +41,7 @@ jobs:
enum: ["test", "release"]
default: "test"
docker:
- image: circleci/golang:1.15
- image: goreleaser/goreleaser #circleci/golang:1.15
steps:
- checkout
- attach_workspace:
Expand Down

0 comments on commit 54c1a0f

Please sign in to comment.