Skip to content

Commit c544b27

Browse files
committed
fix brew linux
1 parent 251a527 commit c544b27

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

.goreleaser.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -42,7 +42,7 @@ homebrew_casks:
4242
hooks:
4343
post:
4444
install: |
45-
if system_command("/usr/bin/xattr", args: ["-h"]).exit_status == 0
45+
if OS.mac?
4646
system_command "/usr/bin/xattr", args: ["-dr", "com.apple.quarantine", "#{staged_path}/ipcalc"]
4747
end
4848

0 commit comments

Comments
 (0)