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 d54f7ea commit 3663360Copy full SHA for 3663360
.goreleaser.yaml
@@ -70,7 +70,12 @@ brews:
70
commit_msg_template: "Brew formula update for {{ .ProjectName }} version {{ .Tag }}"
71
directory: Formula
72
73
- install: bin.install "{{ .ArtifactName }}" => "{{ .Env.CMDNAME }}"
+ install: |
74
+ bin.install "{{ .ArtifactName }}" => "{{ .Env.CMDNAME }}"
75
+
76
+ chmod 0555, bin/"{{ .Env.CMDNAME }}" # generate_completions_from_executable fails otherwise
77
+ generate_completions_from_executable(bin/"{{ .Env.CMDNAME }}", "completion")
78
79
homepage: "https://www.mia-platform.eu"
80
description: "{{ .Env.DESCRIPTION }}"
81
0 commit comments