diff --git a/.goreleaser.yml b/.goreleaser.yml index 33a9e4b..6d9fae0 100644 --- a/.goreleaser.yml +++ b/.goreleaser.yml @@ -7,22 +7,20 @@ before: builds: - main: . binary: slack-quickpost + env: + - CGO_ENABLED=0 + goos: + - linux + - windows + - darwin + goarch: + - amd64 + - arm64 ldflags: - -s -w - -X main.Version={{.Version}} - -X main.Revision={{.ShortCommit}} - env: - - CGO_ENABLED=0 archives: - name_template: '{{ .ProjectName }}_{{ .Os }}_{{ .Arch }}{{ if .Arm }}v{{ .Arm }}{{ end }}' - replacements: - darwin: darwin - linux: linux - windows: windows - 386: i386 - amd64: x86_64 - format_overrides: - - goos: windows - format: zip release: prerelease: auto