diff options
author | Derrick <actown@users.noreply.github.com> | 2020-04-15 09:39:53 +0300 |
---|---|---|
committer | Derrick <actown@users.noreply.github.com> | 2020-04-15 09:39:53 +0300 |
commit | 415081e3dcea2002ceebf0b4519865c152ddc544 (patch) | |
tree | 515f4de4b018bdaac8caa3f432b34b3209c66af5 | |
parent | 1f1afaa42f3e85f52e0f46e5cc79417d2322d039 (diff) |
Setup GoReleaser for the future.
-rw-r--r-- | .goreleaser.yml | 45 |
1 files changed, 45 insertions, 0 deletions
diff --git a/.goreleaser.yml b/.goreleaser.yml new file mode 100644 index 0000000..c854f37 --- /dev/null +++ b/.goreleaser.yml @@ -0,0 +1,45 @@ +project_name: grumble +dist: build/ +env: + - GO111MODULE=on +before: + hooks: + - go mod download +builds: + - env: + - CGO_ENABLED=0 + main: ./cmd/grumble/ + binary: grumble + goos: + - darwin + - linux + - windows + goarch: + - amd64 + - arm + - arm64 + ignore: + - goos: darwin + goarch: arm + - goos: darwin + goarch: arm64 + - goos: windows + goarch: arm + - goos: windows + goarch: arm64 +archives: + - files: + - LICENSE + format_overrides: + - goos: windows + format: zip +checksum: + name_template: 'checksums.txt' +snapshot: + name_template: "{{ .Tag }}-next" +changelog: + sort: asc + filters: + exclude: + - '^docs:' + - '^test:' |