Skip to content

Commit 94821ec

Browse files
fix: include completions/ dir in releases (#229)
This fixes the `Errno::ENOENT: No such file or directory - completions/deepsource.*` issue when installing using homebrew. Signed-off-by: Sourya Vatsyayan <sourya@deepsource.io>
1 parent 19e3e7c commit 94821ec

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

goreleaser.yaml

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -87,12 +87,13 @@ builds:
8787
- "-X 'main.version={{ .Version }}' -X 'main.SentryDSN={{ .Env.DEEPSOURCE_CLI_SENTRY_DSN }}'"
8888

8989
archives:
90-
-
91-
name_template: >-
90+
- name_template: >-
9291
deepsource_{{ .Version }}_{{ .Os }}_
9392
{{- if eq .Arch "amd64" }}x86_64
9493
{{- else if eq .Arch "386" }}i386
9594
{{- else }}{{ .Arch }}{{ end }}
95+
files:
96+
- completions/**/*
9697
checksum:
9798
name_template: 'checksums.txt'
9899
snapshot:

0 commit comments

Comments
 (0)