Description
Installing agent-notify through Homebrew currently fails because the formula
references a release archive that does not exist:
$ brew tap paultendo/agent-notify https://github.com/paultendo/agent-notify
$ brew install agent-notify
Error: Failed to download resource "agent-notify (1.0.0)"
Download failed: https://github.com/paultendo/agent-notify/archive/refs/tags/v1.0.0.tar.gz
curl: (56) The requested URL returned error: 404
Cause
Formula/agent-notify.rb currently:
- references the nonexistent tag
v1.0.0; and
- contains an empty
sha256 value.
The repository does have a v1.1.0 tag with a valid release archive.
Proposed fix
Update these two fields in Formula/agent-notify.rb:
url "https://github.com/paultendo/agent-notify/archive/refs/tags/v1.1.0.tar.gz"
sha256 "920c910f8c0714ba0a3d30000c9250fceb2bfb962bafae800cf6868712b2a15b"
Verification
After applying that change locally, installation and the formula test both
succeed:
$ brew install agent-notify
==> Installing agent-notify from paultendo/agent-notify
🍺 /opt/homebrew/Cellar/agent-notify/1.1.0: 6 files, 70.4KB, built in 1 second
$ agent-notify --version
agent-notify 1.1.0
$ brew test agent-notify
==> Testing paultendo/agent-notify/agent-notify
==> /opt/homebrew/Cellar/agent-notify/1.1.0/bin/agent-notify --version
Could you update the Homebrew formula with the valid release URL and checksum?
Description
Installing
agent-notifythrough Homebrew currently fails because the formulareferences a release archive that does not exist:
Cause
Formula/agent-notify.rbcurrently:v1.0.0; andsha256value.The repository does have a
v1.1.0tag with a valid release archive.Proposed fix
Update these two fields in
Formula/agent-notify.rb:Verification
After applying that change locally, installation and the formula test both
succeed:
Could you update the Homebrew formula with the valid release URL and checksum?