Skip to content
Closed
Show file tree
Hide file tree
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
18 changes: 12 additions & 6 deletions .goreleaser.yml
Original file line number Diff line number Diff line change
Expand Up @@ -65,12 +65,18 @@ homebrew_casks:
token: "{{ .Env.HOMEBREW_TAP_TOKEN }}"
homepage: "https://github.com/mnemon-dev/mnemon"
description: "Persistent memory and durable agency for LLM agents"
hooks:
post:
install: |
if OS.mac?
system_command "/usr/bin/xattr", args: ["-dr", "com.apple.quarantine", "#{staged_path}/mnemon"]
end
# Homebrew deprecated `postflight` (emitted by hooks.post.install) in
# favor of `postflight_steps`. GoReleaser does not emit that stanza yet
# (goreleaser/goreleaser#6873). custom_block is not wrapped, so it can
# carry the new DSL. `{{ "{{staged_path}}" }}` survives GoReleaser's
# second template pass and becomes Homebrew's install-time token.
# Drop this once hooks.post.install_steps ships.
custom_block: |
postflight_steps do
on_macos do
run "/usr/bin/xattr", args: ["-dr", "com.apple.quarantine", "{{ "{{staged_path}}" }}/mnemon"]
Comment on lines +74 to +77
end
end

release:
github:
Expand Down
6 changes: 6 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -53,6 +53,12 @@ and this project adheres to [Semantic Versioning](https://semver.org/).
hook registry, but its current local Agent V2 turn path does not dispatch the
user-prompt lifecycle event needed for reliable automatic recall.

### Fixed

- The Homebrew cask no longer uses the deprecated `postflight` stanza. The
macOS quarantine strip is now `postflight_steps`, so `brew` stops warning
on every command that loads the cask.

## [0.2.7] - 2026-09-01

### Fixed
Expand Down
Loading