mc-router/.goreleaser.yml
2019-04-19 20:45:12 -05:00

43 lines
755 B
YAML

project_name: mc-router
release:
github:
owner: itzg
name: mc-router
before:
hooks:
- go mod download
brew:
install: bin.install "mc-router"
builds:
- goos:
- linux
- darwin
- windows
goarch:
- amd64
goarm:
- "6"
main: cmd/mc-router/main.go
binary: mc-router
env:
- CGO_ENABLED=0
archives:
- id: tar_gz
format: tar.gz
name_template: '{{ .Binary }}_{{.Version}}_{{ .Os }}_{{ .Arch }}{{ if .Arm }}v{{ .Arm }}{{ end }}'
files:
- LICENSE*
- README*
snapshot:
name_template: SNAPSHOT-{{ .Commit }}
dockers:
- image_templates:
- "itzg/mc-router:latest"
- "itzg/mc-router:{{.Tag}}"
goos: linux
goarch: amd64
changelog:
filters:
exclude:
- '^ci:'
- '^docs:'