diff --git a/.goreleaser.yaml b/.goreleaser.yaml index 0f52c52..869303b 100644 --- a/.goreleaser.yaml +++ b/.goreleaser.yaml @@ -18,13 +18,22 @@ builds: goarch: - amd64 - arm64 + - arm + goarm: + - "6" + - "7" + ignore: + - goos: darwin + goarch: arm + - goos: windows + goarch: arm ldflags: - -s -w -X main.version={{.Version}} archives: - formats: - tar.gz - name_template: "{{ .ProjectName }}_{{ .Version }}_{{ .Os }}_{{ .Arch }}" + name_template: "{{ .ProjectName }}_{{ .Version }}_{{ .Os }}_{{ .Arch }}{{- if .Arm }}v{{ .Arm }}{{ end }}" format_overrides: - goos: windows formats: