Fix Homebrew checksum matcher in publish workflow#297
Merged
ChiragAgg5k merged 1 commit intomasterfrom Apr 14, 2026
Merged
Conversation
loks0n
approved these changes
Apr 14, 2026
Greptile SummaryThis PR fixes the Homebrew checksum replacement regex in the publish workflow by swapping the Perl-style Confidence Score: 5/5
Important Files Changed
Reviews (1): Last reviewed commit: "fix: repair Homebrew checksum matcher in..." | Re-trigger Greptile |
ChiragAgg5k
added a commit
that referenced
this pull request
Apr 14, 2026
Patch release to re-run the publish workflow with the Homebrew checksum regex fix from #297. The 18.0.0 publish workflow failed at the formula update step because it ran with the old \Q...\E regex syntax.
3 tasks
ChiragAgg5k
added a commit
that referenced
this pull request
Apr 14, 2026
Patch release to re-run the publish workflow with the Homebrew checksum regex fix from #297. The 18.0.0 publish workflow failed at the formula update step because it ran with the old \Q...\E regex syntax.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
What does this PR do?
Fixes the Homebrew checksum replacement regex in the publish workflow.
The current workflow uses a Ruby regex literal with
\Q...\Einterpolation when rewritingFormula/appwrite.rb, and that matcher does not match the generated formula content during the release job. The first checksum replacement fails and aborts the publish step.Failed run:
https://github.com/appwrite/sdk-for-cli/actions/runs/24404302600/job/71283184664
Test Plan
Formula/appwrite.rb\Q#{artifact}\Ewith#{Regexp.escape(artifact)}allows all four checksum substitutions to succeedRelated