Skip to content

Commit a6fbb68

Browse files
🚀 goreleaser
1 parent 86e8b47 commit a6fbb68

File tree

1 file changed

+36
-31
lines changed

1 file changed

+36
-31
lines changed

‎.goreleaser.yaml‎

Lines changed: 36 additions & 31 deletions
Original file line numberDiff line numberDiff line change
@@ -55,17 +55,47 @@ changelog:
5555
- "^docs:"
5656
- "^test:"
5757

58-
# homebrew_casks:
58+
homebrew_casks:
59+
-
60+
name: openstatus
61+
binary: openstatus
62+
homepage: https://www.openstatus.dev
63+
skip_upload: auto
64+
description: "OpenStatus CLI"
65+
directory: Casks
66+
manpage: openstatus-docs.1
67+
repository:
68+
owner: openstatusHQ
69+
# Repository name.
70+
#
71+
# Templates: allowed.
72+
name: homebrew-cli
73+
branch: main
74+
token: "{{ .Env.TAP_GITHUB_TOKEN }}"
75+
76+
hooks:
77+
post:
78+
# replace foo with the actual binary name
79+
install: |
80+
if system_command("/usr/bin/xattr", args: ["-h"]).exit_status == 0
81+
# replace 'foo' with the actual binary name
82+
system_command "/usr/bin/xattr", args: ["-dr", "com.apple.quarantine", "#{staged_path}/openstatus"]
83+
end
84+
85+
# brews:
5986
# -
6087
# name: openstatus
61-
# binary: openstatus
88+
# directory: Formula
6289
# homepage: https://www.openstatus.dev
6390
# skip_upload: auto
64-
# description: "OpenStatus CLI"
65-
# directory: Casks
66-
# manpage: openstatus-docs.1
91+
# test: |
92+
# system "#{bin}/openstatus --help"
93+
# extra_install: |
94+
# man1.install "openstatus-docs.1"
6795
# repository:
68-
96+
# # Repository owner.
97+
# #
98+
# # Templates: allowed.
6999
# owner: openstatusHQ
70100

71101
# # Repository name.
@@ -76,28 +106,3 @@ changelog:
76106

77107
# branch: main
78108
# token: "{{ .Env.TAP_GITHUB_TOKEN }}"
79-
80-
brews:
81-
-
82-
name: openstatus
83-
directory: Formula
84-
homepage: https://www.openstatus.dev
85-
skip_upload: auto
86-
test: |
87-
system "#{bin}/openstatus --help"
88-
extra_install: |
89-
man1.install "openstatus-docs.1"
90-
repository:
91-
# Repository owner.
92-
#
93-
# Templates: allowed.
94-
owner: openstatusHQ
95-
96-
# Repository name.
97-
#
98-
# Templates: allowed.
99-
name: homebrew-cli
100-
101-
102-
branch: main
103-
token: "{{ .Env.TAP_GITHUB_TOKEN }}"

0 commit comments

Comments
 (0)