1
0
mirror of https://github.com/muesli/mastotool synced 2024-12-22 15:48:53 +01:00

Added .goreleaser.yml

This commit is contained in:
Christian Muehlhaeuser 2019-08-11 21:49:54 +02:00
parent 968a7e3d82
commit 2238d8301d
No known key found for this signature in database
GPG Key ID: 3CF9FA45CA1EBB7E

46
.goreleaser.yml Normal file
View File

@ -0,0 +1,46 @@
env:
- GO111MODULE=on
before:
hooks:
- go mod download
builds:
-
binary: mastotool
ldflags: -s -w -X main.Version={{ .Version }} -X main.CommitSHA={{ .Commit }}
goos:
- linux
- darwin
goarch:
- amd64
- arm64
- 386
- arm
goarm:
- 6
- 7
ignore:
- goos: darwin
goarch: 386
- goos: linux
goarch: arm
goarm: 7
sign:
artifacts: checksum
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:'