Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
11 changes: 8 additions & 3 deletions .goreleaser.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -43,9 +43,14 @@ homebrew_casks:
hooks:
post:
install: |
if OS.mac?
system_command "/usr/bin/xattr", args: ["-dr", "com.apple.quarantine", "#{staged_path}/nssh"]
end
system_command "/usr/bin/xattr", args: ["-dr", "com.apple.quarantine", "#{staged_path}/nssh"] if OS.mac?
# Populate the zap stanza so goreleaser's template doesn't emit a
# `# No zap stanza required` placeholder with a trailing blank line
# that trips Layout/EmptyLinesAroundBlockBody under `brew style`.
zap:
trash:
- "~/.local/state/nssh"
- "~/.config/nssh"
Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Zap stanza missing ~/.cache/nssh cleanup path

Low Severity

The zap.trash stanza in the Homebrew formula is missing ~/.cache/nssh. This directory, created by downloadBinary in infect.go for caching release tarballs (e.g., ~/.cache/nssh/releases/), remains after brew uninstall --zap, allowing cached files to accumulate.

Fix in Cursor Fix in Web

Reviewed by Cursor Bugbot for commit f88fc8b. Configure here.


release:
github:
Expand Down