diff --git a/.goreleaser.yml b/.goreleaser.yml index f0d7e09..0356611 100644 --- a/.goreleaser.yml +++ b/.goreleaser.yml @@ -1,32 +1,27 @@ # This is an example goreleaser.yaml file with some sane defaults. # Make sure to check the documentation at http://goreleaser.com builds: -- env: - - CGO_ENABLED=0 - goos: - - darwin - - windows - - linux - goarch: - - amd64 - - arm - - arm64 - ldflags: - - -X main.Version={{.Version}} + - env: + - CGO_ENABLED=0 + goos: + - darwin + - windows + - linux + goarch: + - amd64 + - arm + - arm64 + ldflags: + - -X main.Version={{.Version}} archives: -- replacements: - darwin: macOS - linux: Linux - windows: Windows - 386: i386 - amd64: x86_64 + - name_template: "{{ .ProjectName }}_{{ .Os }}_{{ .Arch }}{{ if .Arm }}v{{ .Arm }}{{ end }}" checksum: - name_template: 'checksums.txt' + name_template: "checksums.txt" snapshot: name_template: "{{ .Tag }}" changelog: sort: asc filters: exclude: - - '^docs:' - - '^test:' + - "^docs:" + - "^test:" diff --git a/Makefile b/Makefile index 9eeafe7..edbbbac 100644 --- a/Makefile +++ b/Makefile @@ -1,4 +1,4 @@ .PHONY: release release: - goreleaser --rm-dist + goreleaser --clean