Skip to content

fix(homebrew): Set executable permissions before generating completions - #7

Merged
philprime merged 1 commit into
mainfrom
philprime/fix/homebrew-executable-permissions
Sep 16, 2026
Merged

philprime merged 1 commit into
mainfrom
philprime/fix/homebrew-executable-permissions

Conversation

@philprime

Copy link
Copy Markdown
Member

Set executable permissions on the installed Apple Docs binary before generating shell completions, fixing Homebrew's EACCES failure for raw downloads with mode 0644. Publish v0.0.5 as revision 1 while preserving the existing v0.0.4 revision and leaving future releases at revision 0.

Add a regression test that installs a non-executable fixture and verifies Bash, Zsh, and Fish completion generation across all configured platforms.

Validation

  • make test-homebrew passes, with the new regression test confirmed failing before the fix.
  • The updated formula installs the actual v0.0.5 macOS ARM64 download and generates all three completion scripts in an isolated temporary prefix.
  • Homebrew style, formatting, and pre-commit checks pass.
  • Full make test is blocked locally by missing rpmbuild. The publisher configuration-only check passes.

Publication
After merge, rerun publish.yml with source_repo=techprimate/apple-docs-cli and tag=v0.0.5 to publish the formula revision through the automated tap PR. No release binaries or checksums change.

@philprime
philprime marked this pull request as ready for review September 16, 2026 08:18
@philprime
philprime merged commit 567c931 into main Sep 16, 2026
1 check passed
@philprime
philprime deleted the philprime/fix/homebrew-executable-permissions branch September 16, 2026 08:19
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant