We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent d66bae9 commit a5db0eeCopy full SHA for a5db0ee
.goreleaser.yaml
@@ -71,7 +71,12 @@ brews:
71
commit_msg_template: "Brew formula update for {{ .ProjectName }} version {{ .Tag }}"
72
directory: Formula
73
74
- install: bin.install "{{ .ArtifactName }}" => "{{ .Env.CMDNAME }}"
+ install: |
75
+ bin.install "{{ .ArtifactName }}" => "{{ .Env.CMDNAME }}"
76
+
77
+ chmod 0555, bin/"{{ .Env.CMDNAME }}" # generate_completions_from_executable fails otherwise
78
+ generate_completions_from_executable(bin/"{{ .Env.CMDNAME }}", "completion")
79
80
homepage: "https://www.mia-platform.eu"
81
description: "{{ .Env.DESCRIPTION }}"
82
0 commit comments