Skip to content

Commit 7b09980

Browse files
ashu17706claude
andcommitted
fix: replace release comment with formula verification step
The comment step was failing because context.issue.number is not available for release events. Replace with a simple verification that confirms the formula was updated successfully. Co-Authored-By: Claude Haiku 4.5 <noreply@anthropic.com>
1 parent be2c8bd commit 7b09980

1 file changed

Lines changed: 9 additions & 11 deletions

File tree

.github/workflows/publish-homebrew.yml

Lines changed: 9 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -88,14 +88,12 @@ jobs:
8888
git commit -m "chore: bump warp to ${{ env.VERSION }}"
8989
git push
9090
91-
- name: Comment on release
92-
if: github.event_name == 'release'
93-
uses: actions/github-script@v7
94-
with:
95-
script: |
96-
github.rest.issues.createComment({
97-
issue_number: context.issue.number,
98-
owner: context.repo.owner,
99-
repo: context.repo.repo,
100-
body: '✅ Published to Homebrew!\n\nInstall with:\n```\nbrew tap zero8dotdev/warp\nbrew install warp\n```'
101-
})
91+
- name: Verify formula updated
92+
run: |
93+
if [ -f "homebrew-warp/Formula/warp.rb" ]; then
94+
echo "✅ Formula successfully updated in homebrew-warp repository"
95+
grep -A2 "url " homebrew-warp/Formula/warp.rb | head -3
96+
else
97+
echo "❌ Formula file not found"
98+
exit 1
99+
fi

0 commit comments

Comments
 (0)