Skip to content

Commit

Permalink
fix: include completions/ dir in releases (#229)
Browse files Browse the repository at this point in the history
This fixes the `Errno::ENOENT: No such file or directory - completions/deepsource.*` issue when installing using homebrew.

Signed-off-by: Sourya Vatsyayan <[email protected]>
  • Loading branch information
sourya-deepsource authored Nov 9, 2023
1 parent 19e3e7c commit 94821ec
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions goreleaser.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -87,12 +87,13 @@ builds:
- "-X 'main.version={{ .Version }}' -X 'main.SentryDSN={{ .Env.DEEPSOURCE_CLI_SENTRY_DSN }}'"

archives:
-
name_template: >-
- name_template: >-
deepsource_{{ .Version }}_{{ .Os }}_
{{- if eq .Arch "amd64" }}x86_64
{{- else if eq .Arch "386" }}i386
{{- else }}{{ .Arch }}{{ end }}
files:
- completions/**/*
checksum:
name_template: 'checksums.txt'
snapshot:
Expand Down

0 comments on commit 94821ec

Please sign in to comment.