Skip to content

Commit

Permalink
fix automated release process
Browse files Browse the repository at this point in the history
  • Loading branch information
frapposelli committed Aug 20, 2019
1 parent 842dc42 commit 59966a7
Show file tree
Hide file tree
Showing 3 changed files with 21 additions and 19 deletions.
1 change: 1 addition & 0 deletions .circleci/config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -33,6 +33,7 @@ jobs:
- image: circleci/golang:1.12
steps:
- checkout
- setup_remote_docker
- run: ./.circleci/docker-login.sh
- run: curl -sL https://git.io/goreleaser | bash
workflows:
Expand Down
2 changes: 1 addition & 1 deletion .circleci/docker-login.sh
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
#!/bin/sh
docker login -u="$DOCKER_USERNAME" -p="$DOCKER_PASSWORD"
echo "$DOCKER_PASSWORD" | docker login --username $DOCKER_USERNAME --password-stdin
37 changes: 19 additions & 18 deletions .goreleaser.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,12 +9,13 @@ builds:
- amd64
env:
- CGO_ENABLED=0
archive:
name_template: '{{ .ProjectName }}_{{ .Version }}_{{ .Os }}_{{ .Arch }}'
format: tar.gz
files:
- LICENSE*
- README*
archives:
- id: github
name_template: '{{ .ProjectName }}_{{ .Version }}_{{ .Os }}_{{ .Arch }}'
format: tar.gz
files:
- LICENSE*
- README*
checksum:
name_template: '{{ .ProjectName }}_{{ .Version }}_checksums.txt'
dockers:
Expand All @@ -27,15 +28,15 @@ dockers:
binaries:
- wwhrd
dockerfile: Dockerfile
brew:
github:
owner: frapposelli
name: homebrew-tap
commit_author:
name: Fabio Rapposelli
email: [email protected]
folder: Formula
homepage: "https://github.com/frapposelli/wwhrd/blob/master/README.md"
description: "Have Henry Rollins check vendored licenses in your Go project."
test: |
system "#{bin}/wwhrd -v"
brews:
- folder: Formula
github:
owner: frapposelli
name: homebrew-tap
commit_author:
name: Fabio Rapposelli
email: [email protected]
homepage: "https://github.com/frapposelli/wwhrd/blob/master/README.md"
description: "Have Henry Rollins check vendored licenses in your Go project."
test: |
system "#{bin}/wwhrd -v"

0 comments on commit 59966a7

Please sign in to comment.