install goreleaser in ci

This commit is contained in:
Simon Aronsson 2019-04-04 21:42:57 +02:00
parent 1fdfbb38c7
commit a3b4fb8382

View file

@ -53,6 +53,20 @@ jobs:
publishing: publishing:
executor: go executor: go
steps: steps:
- run:
name: Install Goreleaser
command: |
curl \
--silent \
--show-error \
--fail \
--location \
--header "Accept: application/tar+gzip, application/x-gzip, application/octet-stream" \
-o - \
"https://github.com/goreleaser/goreleaser/releases/download/v${goreleaser}/goreleaser_Linux_x86_64.tar.gz" \
| tar --no-same-owner -C /usr/bin/ -xz goreleaser \
&& chmod 0755 /usr/bin/goreleaser \
&& /usr/bin/goreleaser -v
- run: echo Done - run: echo Done
# version: 2 # version: 2