diff --git a/goreleaser.yaml b/goreleaser.yaml index c3fc8e68..89a5681b 100644 --- a/goreleaser.yaml +++ b/goreleaser.yaml @@ -87,13 +87,23 @@ builds: - "-X 'main.version={{ .Version }}' -X 'main.SentryDSN={{ .Env.DEEPSOURCE_CLI_SENTRY_DSN }}'" archives: - - name_template: >- + - id: arch_rename + builds: + - deepsource-darwin-amd64 + - deepsource-linux-amd64 + - windows-deepsource + name_template: >- deepsource_{{ .Version }}_{{ .Os }}_ {{- if eq .Arch "amd64" }}x86_64 {{- else if eq .Arch "386" }}i386 {{- else }}{{ .Arch }}{{ end }} files: - completions/* + - id: default + name_template: >- + deepsource_{{ .Version }}_{{ .Os }}_{{ .Arch }} + files: + - completions/* checksum: name_template: 'checksums.txt' snapshot: