From ffb94d27697889a744213b2f636177e3e3dd72e3 Mon Sep 17 00:00:00 2001 From: Alex Bucknall Date: Thu, 20 Nov 2025 15:51:21 +0000 Subject: [PATCH 1/2] chore: add post-install hooks for brew to handle macos quarantine --- .goreleaser.yaml | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/.goreleaser.yaml b/.goreleaser.yaml index 2b30ef4..93e98d8 100644 --- a/.goreleaser.yaml +++ b/.goreleaser.yaml @@ -130,3 +130,10 @@ homebrew_casks: homepage: https://blues.com description: Note CLI license: MIT + hooks: + post: + install: | + if OS.mac? + system_command "/usr/bin/xattr", args: ["-dr", "com.apple.quarantine", "#{staged_path}/notecard"] + system_command "/usr/bin/xattr", args: ["-dr", "com.apple.quarantine", "#{staged_path}/notehub"] + end From 8a3451a06681f8c13c0b3664eff00dc76f2f2264 Mon Sep 17 00:00:00 2001 From: Alex Bucknall Date: Thu, 20 Nov 2025 15:52:28 +0000 Subject: [PATCH 2/2] docs: update brew instructions with note for versions < v1.9.1 --- README.md | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index de10c9e..49f341a 100644 --- a/README.md +++ b/README.md @@ -9,10 +9,12 @@ The Notecard & Notehub CLIs can be installed either with a package manager (`hom ### Homebrew ```bash -brew tap blues/note-cli -brew install note-cli +brew install --cask blues/note-cli/note-cli ``` +> [!IMPORTANT] +If you are upgrading from a version older than v1.9.1 to a newer version, using `brew`, you will need to uninstall first using `brew uninstall note-cli`. + ### Downloading the binaries For all releases, we have compiled the Notecard and Notehub utilities for different OS and architectures [here](https://github.com/blues/note-cli/releases).