Skip to content
Merged
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
7 changes: 1 addition & 6 deletions .github/workflows/test-homebrew-build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,11 +4,6 @@ on:
pull_request:
branches:
- main
paths:
- ".goreleaser/**"
- "scripts/completions.sh"
- "test-scripts/test-homebrew-build.sh"
- ".github/workflows/test-homebrew-build.yml"

workflow_dispatch:
inputs:
Expand Down Expand Up @@ -51,12 +46,12 @@ jobs:
- name: Run installation tests
run: ./test-scripts/test-homebrew-build.sh --install

# Upload generated Homebrew formula (cask distribution has been disabled)
- name: Upload generated Homebrew files
if: always()
uses: actions/upload-artifact@v4
with:
name: homebrew-files
path: |
dist/homebrew/Formula/hookdeck.rb
dist/homebrew/Casks/hookdeck.rb
retention-days: 7
66 changes: 33 additions & 33 deletions .goreleaser/mac.yml
Original file line number Diff line number Diff line change
Expand Up @@ -64,38 +64,38 @@ brews:
zsh_completion.install "completions/_hookdeck"

caveats: |
⚠️ WARNING: This formula is deprecated!
❤ Thanks for installing the Hookdeck CLI!

Please migrate to the cask version for the latest updates:
brew uninstall hookdeck
brew install --cask hookdeck/hookdeck/hookdeck

The formula distribution will be removed in approximately 3-6 months.
Learn more: https://goreleaser.com/blog/goreleaser-v2.10/#homebrew-casks

homebrew_casks:
- name: hookdeck
ids:
- hookdeck
repository:
owner: hookdeck
name: homebrew-hookdeck
homepage: https://hookdeck.com
description: Receive events (e.g. webhooks) on your localhost with event history, replay, and team collaboration
# Install shell completions automatically
completions:
bash: "completions/hookdeck.bash"
zsh: "completions/_hookdeck"

caveats: |-
Thanks for installing the Hookdeck CLI!

⚠️ If you see an error about a binary already existing:
brew uninstall hookdeck
brew install --cask hookdeck/hookdeck/hookdeck

Shell completions have been installed automatically.
You may need to restart your shell for them to take effect.

First time using the CLI? Run:
If this is your first time using the CLI, run:
hookdeck login

# TODO: Temporarily disabled until we implement code signing
# Cask distribution causes Gatekeeper issues with unsigned binaries
# Will re-enable once Apple Developer certificate is in place
#
# homebrew_casks:
# - name: hookdeck
# ids:
# - hookdeck
# repository:
# owner: hookdeck
# name: homebrew-hookdeck
# homepage: https://hookdeck.com
# description: Receive events (e.g. webhooks) on your localhost with event history, replay, and team collaboration
# # Install shell completions automatically
# completions:
# bash: "completions/hookdeck.bash"
# zsh: "completions/_hookdeck"
#
# caveats: |-
# Thanks for installing the Hookdeck CLI!
#
# ⚠️ If you see an error about a binary already existing:
# brew uninstall hookdeck
# brew install --cask hookdeck/hookdeck/hookdeck
#
# Shell completions have been installed automatically.
# You may need to restart your shell for them to take effect.
#
# First time using the CLI? Run:
# hookdeck login
Loading