Skip to content

Commit

Permalink
Update release config
Browse files Browse the repository at this point in the history
  • Loading branch information
mugli committed Aug 10, 2019
1 parent 0bae400 commit c4977f0
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 2 deletions.
10 changes: 8 additions & 2 deletions .goreleaser.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,14 +3,20 @@
project_name: kill-mysql-query
before:
hooks:
# you may remove this if you don't use vgo
- go mod download
builds:
- env:
- CGO_ENABLED=0
goos:
- darwin
- windows
- linux
ignore:
- goos: darwin
goarch: 386
archives:
- replacements:
darwin: Darwin
darwin: macOS
linux: Linux
windows: Windows
386: i386
Expand Down
2 changes: 2 additions & 0 deletions release.sh
Original file line number Diff line number Diff line change
Expand Up @@ -6,5 +6,7 @@ export GOPROXY=https://gocenter.io
# git tag -a v0.1.0 -m "First release"
# git push origin v0.1.0

# For dry run:
# goreleaser --snapshot --skip-publish --rm-dist

goreleaser release --rm-dist

0 comments on commit c4977f0

Please sign in to comment.