Browse Source

add .goreleaser.yml

master
AJ ONeal 4 months ago
parent
commit
828344802b
1 changed files with 37 additions and 0 deletions
  1. +37
    -0
      .goreleaser.yml

+ 37
- 0
.goreleaser.yml View File

@ -0,0 +1,37 @@
before:
hooks:
- go mod download
- go generate ./...
builds:
- main: ./cmd/sclient/main.go
env:
- CGO_ENABLED=0
goos:
- linux
- windows
- darwin
goarch:
- 386
- amd64
- arm
- arm64
goarm:
- 6
- 7
archives:
- replacements:
386: i386
amd64: x86_64
format_overrides:
- goos: windows
format: zip
checksum:
name_template: 'checksums.txt'
snapshot:
name_template: "{{ .Tag }}-next"
changelog:
sort: asc
filters:
exclude:
- '^docs:'
- '^test:'

Loading…
Cancel
Save