ppforge/.goreleaser.yml

39 lines
816 B
YAML
Raw Normal View History

2022-11-23 13:24:48 +01:00
# This is an example .goreleaser.yml file with some sensible defaults.
# Make sure to check the documentation at https://goreleaser.com
project_name: npc
before:
hooks:
# You may remove this if you don't use go modules.
- go mod tidy
# you may remove this if you don't need go generate
- go generate ./...
builds:
- main: ./cmd/npc/main.go
id: "npc"
binary: npc
2022-11-23 20:33:07 +01:00
# env:
# - CGO_ENABLED=0
2022-11-23 13:24:48 +01:00
goarch:
- amd64
goos:
- linux
2022-11-23 20:33:07 +01:00
# - windows
# - darwin
2022-11-23 13:24:48 +01:00
archives:
- replacements:
darwin: Darwin
linux: Linux
windows: Windows
#386: i386
amd64: x86_64
checksum:
name_template: 'checksums.txt'
snapshot:
name_template: "{{ incpatch .Version }}-next"
changelog:
sort: asc
filters:
exclude:
- '^docs:'
- '^test:'