diff --git a/.goreleaser.yaml b/.goreleaser.yaml index 9e8a4671..786393a9 100644 --- a/.goreleaser.yaml +++ b/.goreleaser.yaml @@ -1,3 +1,6 @@ +# yaml-language-server: $schema=https://goreleaser.com/static/schema.json +version: 2 + archives: - name_template: '{{ .ProjectName }}-{{ replace .Version "v" "" }}-{{ .Os }}-{{ .Arch }}' format_overrides: @@ -22,6 +25,9 @@ builds: goarch: - amd64 - arm64 + ignore: + - goos: windows + goarch: arm64 ldflags: - -s -w - -X github.com/sapcc/go-api-declarations/bininfo.binName=absent-metrics-operator @@ -36,4 +42,4 @@ release: prerelease: auto snapshot: - name_template: "{{ .Tag }}-next" + version_template: "{{ .Tag }}-next"