Skip to content

Commit c92b67b

Browse files
authored
Merge pull request #157 from hookdeck/chore/remove-cask
chore: temporarily disable cask distribution until code signing
2 parents 6bf08a5 + 4c74b10 commit c92b67b

File tree

3 files changed

+181
-219
lines changed

3 files changed

+181
-219
lines changed

.github/workflows/test-homebrew-build.yml

Lines changed: 1 addition & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -4,11 +4,6 @@ on:
44
pull_request:
55
branches:
66
- main
7-
paths:
8-
- ".goreleaser/**"
9-
- "scripts/completions.sh"
10-
- "test-scripts/test-homebrew-build.sh"
11-
- ".github/workflows/test-homebrew-build.yml"
127

138
workflow_dispatch:
149
inputs:
@@ -51,12 +46,12 @@ jobs:
5146
- name: Run installation tests
5247
run: ./test-scripts/test-homebrew-build.sh --install
5348

49+
# Upload generated Homebrew formula (cask distribution has been disabled)
5450
- name: Upload generated Homebrew files
5551
if: always()
5652
uses: actions/upload-artifact@v4
5753
with:
5854
name: homebrew-files
5955
path: |
6056
dist/homebrew/Formula/hookdeck.rb
61-
dist/homebrew/Casks/hookdeck.rb
6257
retention-days: 7

.goreleaser/mac.yml

Lines changed: 33 additions & 33 deletions
Original file line numberDiff line numberDiff line change
@@ -64,38 +64,38 @@ brews:
6464
zsh_completion.install "completions/_hookdeck"
6565
6666
caveats: |
67-
⚠️ WARNING: This formula is deprecated!
67+
❤ Thanks for installing the Hookdeck CLI!
6868
69-
Please migrate to the cask version for the latest updates:
70-
brew uninstall hookdeck
71-
brew install --cask hookdeck/hookdeck/hookdeck
72-
73-
The formula distribution will be removed in approximately 3-6 months.
74-
Learn more: https://goreleaser.com/blog/goreleaser-v2.10/#homebrew-casks
75-
76-
homebrew_casks:
77-
- name: hookdeck
78-
ids:
79-
- hookdeck
80-
repository:
81-
owner: hookdeck
82-
name: homebrew-hookdeck
83-
homepage: https://hookdeck.com
84-
description: Receive events (e.g. webhooks) on your localhost with event history, replay, and team collaboration
85-
# Install shell completions automatically
86-
completions:
87-
bash: "completions/hookdeck.bash"
88-
zsh: "completions/_hookdeck"
89-
90-
caveats: |-
91-
Thanks for installing the Hookdeck CLI!
92-
93-
⚠️ If you see an error about a binary already existing:
94-
brew uninstall hookdeck
95-
brew install --cask hookdeck/hookdeck/hookdeck
96-
97-
Shell completions have been installed automatically.
98-
You may need to restart your shell for them to take effect.
99-
100-
First time using the CLI? Run:
69+
If this is your first time using the CLI, run:
10170
hookdeck login
71+
72+
# TODO: Temporarily disabled until we implement code signing
73+
# Cask distribution causes Gatekeeper issues with unsigned binaries
74+
# Will re-enable once Apple Developer certificate is in place
75+
#
76+
# homebrew_casks:
77+
# - name: hookdeck
78+
# ids:
79+
# - hookdeck
80+
# repository:
81+
# owner: hookdeck
82+
# name: homebrew-hookdeck
83+
# homepage: https://hookdeck.com
84+
# description: Receive events (e.g. webhooks) on your localhost with event history, replay, and team collaboration
85+
# # Install shell completions automatically
86+
# completions:
87+
# bash: "completions/hookdeck.bash"
88+
# zsh: "completions/_hookdeck"
89+
#
90+
# caveats: |-
91+
# Thanks for installing the Hookdeck CLI!
92+
#
93+
# ⚠️ If you see an error about a binary already existing:
94+
# brew uninstall hookdeck
95+
# brew install --cask hookdeck/hookdeck/hookdeck
96+
#
97+
# Shell completions have been installed automatically.
98+
# You may need to restart your shell for them to take effect.
99+
#
100+
# First time using the CLI? Run:
101+
# hookdeck login

0 commit comments

Comments
 (0)