Skip to content

Commit 2e8a0f0

Browse files
committed
ci: update release config
1 parent 6d01c09 commit 2e8a0f0

File tree

1 file changed

+15
-10
lines changed

1 file changed

+15
-10
lines changed

.goreleaser.yaml

Lines changed: 15 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -40,24 +40,29 @@ archives:
4040
{{- .Os }}_
4141
{{- .Arch }}
4242
43-
brews:
43+
homebrew_casks:
4444
- name: flow
45+
binary: flow
46+
conflicts:
47+
- formula: flow
4548
homepage: https://flowexec.io
4649
license: Apache-2.0
4750
repository:
4851
owner: jahvon
4952
name: homebrew-tap
5053
token: "{{ .Env.HOMEBREW_FLOW_GITHUB_TOKEN }}"
54+
completions:
55+
bash: completions/flow.bash
56+
zsh: completions/flow.zsh
57+
fish: completions/flow.fish
5158
dependencies:
52-
- name: xclip
53-
os: linux
54-
install: |
55-
bin.install "flow"
56-
bash_completion.install "completions/flow.bash"
57-
zsh_completion.install "completions/flow.zsh"
58-
fish_completion.install "completions/flow.fish"
59-
test: |
60-
system "#{bin}/flow --version"
59+
- cask: xclip # Required for clipboard support, only linux, so I need to figure out to get this to skip macOS
60+
hooks:
61+
post:
62+
install: |
63+
if system_command("/usr/bin/xattr", args: ["-h"]).exit_status == 0
64+
system_command "/usr/bin/xattr", args: ["-dr", "com.apple.quarantine", "#{staged_path}/flow"]
65+
end
6166
6267
dockers:
6368
- image_templates:

0 commit comments

Comments
 (0)