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 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).