📦 NEW: GoReleaser

This commit is contained in:
Austin Ginder 2021-07-04 00:19:35 -04:00
parent 1f1de09019
commit a88453c244
3 changed files with 37 additions and 0 deletions

1
.gitignore vendored
View file

@ -5,6 +5,7 @@ config.json
config.sh config.sh
cookies.yaml cookies.yaml
data data
dist/
.DS_Store .DS_Store
captaincore captaincore
vendor vendor

36
.goreleaser.yml Normal file
View file

@ -0,0 +1,36 @@
# This is an example .goreleaser.yml file with some sane defaults.
# Make sure to check the documentation at http://goreleaser.com
project_name: captaincore
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
- darwin
goarch:
- amd64
- arm
- arm64
archives:
- replacements:
darwin: Darwin
linux: Linux
windows: Windows
386: i386
amd64: x86_64
checksum:
name_template: 'checksums.txt'
snapshot:
name_template: "{{ .Tag }}-next"
changelog:
sort: asc
filters:
exclude:
- '^docs:'
- '^test:'

Binary file not shown.