Goreleaser (#1)

* Init

* Add config file

* Update x/sys to support windows arm64

* Release if tag

* asdf

* asdfa

* asdf
This commit is contained in:
Hangkun Ung
2022-02-20 20:54:38 -05:00
committed by Pierre Carrier
parent 3709c4a20b
commit 31632acfad
5 changed files with 82 additions and 4 deletions

32
.goreleaser.yaml Normal file
View File

@ -0,0 +1,32 @@
# This is an example .goreleaser.yml file with some sensible defaults.
# Make sure to check the documentation at https://goreleaser.com
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:
- env:
- CGO_ENABLED=0
goos:
- linux
- windows
- darwin
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:'