forked from External/grumble
Setup GoReleaser for the future.
This commit is contained in:
parent
1f1afaa42f
commit
415081e3dc
1 changed files with 45 additions and 0 deletions
45
.goreleaser.yml
Normal file
45
.goreleaser.yml
Normal file
|
|
@ -0,0 +1,45 @@
|
|||
project_name: grumble
|
||||
dist: build/
|
||||
env:
|
||||
- GO111MODULE=on
|
||||
before:
|
||||
hooks:
|
||||
- go mod download
|
||||
builds:
|
||||
- env:
|
||||
- CGO_ENABLED=0
|
||||
main: ./cmd/grumble/
|
||||
binary: grumble
|
||||
goos:
|
||||
- darwin
|
||||
- linux
|
||||
- windows
|
||||
goarch:
|
||||
- amd64
|
||||
- arm
|
||||
- arm64
|
||||
ignore:
|
||||
- goos: darwin
|
||||
goarch: arm
|
||||
- goos: darwin
|
||||
goarch: arm64
|
||||
- goos: windows
|
||||
goarch: arm
|
||||
- goos: windows
|
||||
goarch: arm64
|
||||
archives:
|
||||
- files:
|
||||
- LICENSE
|
||||
format_overrides:
|
||||
- goos: windows
|
||||
format: zip
|
||||
checksum:
|
||||
name_template: 'checksums.txt'
|
||||
snapshot:
|
||||
name_template: "{{ .Tag }}-next"
|
||||
changelog:
|
||||
sort: asc
|
||||
filters:
|
||||
exclude:
|
||||
- '^docs:'
|
||||
- '^test:'
|
||||
Loading…
Add table
Add a link
Reference in a new issue