Skip to content

Commit 3f90fc4

Browse files
committed
Homebrew tweaks
1 parent 8c89df7 commit 3f90fc4

2 files changed

Lines changed: 19 additions & 6 deletions

File tree

.github/workflows/build.yaml

Lines changed: 2 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -4,13 +4,9 @@ on:
44
push:
55
paths-ignore:
66
- 'docs/**'
7-
- '.github/**'
8-
- '*.sh'
7+
tags-ignore:
8+
- '**'
99
pull_request:
10-
paths-ignore:
11-
- 'docs/**'
12-
- '.github/**'
13-
- '*.sh'
1410
workflow_dispatch:
1511

1612
jobs:

.goreleaser.yaml

Lines changed: 17 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -234,7 +234,24 @@ homebrew_casks:
234234
repository:
235235
owner: FileFormatInfo
236236
name: homebrew-tap
237+
branch: main
237238
token: "{{ .Env.HOMEBREW_TOKEN }}"
239+
hooks:
240+
post:
241+
install: |
242+
if OS.mac?
243+
system_command "/usr/bin/xattr", args: ["-dr", "com.apple.quarantine", "#{staged_path}/asciify"]
244+
system_command "/usr/bin/xattr", args: ["-dr", "com.apple.quarantine", "#{staged_path}/asciitable"]
245+
system_command "/usr/bin/xattr", args: ["-dr", "com.apple.quarantine", "#{staged_path}/bytecount"]
246+
system_command "/usr/bin/xattr", args: ["-dr", "com.apple.quarantine", "#{staged_path}/certinfo"]
247+
system_command "/usr/bin/xattr", args: ["-dr", "com.apple.quarantine", "#{staged_path}/ghash"]
248+
system_command "/usr/bin/xattr", args: ["-dr", "com.apple.quarantine", "#{staged_path}/hexdumpc"]
249+
system_command "/usr/bin/xattr", args: ["-dr", "com.apple.quarantine", "#{staged_path}/hosty"]
250+
system_command "/usr/bin/xattr", args: ["-dr", "com.apple.quarantine", "#{staged_path}/unhexdump"]
251+
system_command "/usr/bin/xattr", args: ["-dr", "com.apple.quarantine", "#{staged_path}/unicount"]
252+
system_command "/usr/bin/xattr", args: ["-dr", "com.apple.quarantine", "#{staged_path}/uniwhat"]
253+
system_command "/usr/bin/xattr", args: ["-dr", "com.apple.quarantine", "#{staged_path}/urly"]
254+
end
238255
239256
nfpms:
240257
- id: fftools

0 commit comments

Comments
 (0)