mirror of
https://github.com/bybrooklyn/openbitdo.git
synced 2026-03-19 04:12:56 -04:00
release: prepare v0.0.1-rc.4
This commit is contained in:
@@ -1,14 +1,24 @@
|
||||
# Homebrew Packaging
|
||||
|
||||
Formula source lives in `Formula/openbitdo.rb`.
|
||||
Template source used for release rendering: `Formula/openbitdo.rb.tmpl`.
|
||||
Homebrew publishing uses the separate tap repo `bybrooklyn/homebrew-openbitdo`.
|
||||
|
||||
Planned tap:
|
||||
- `bybrooklyn/homebrew-openbitdo`
|
||||
## Source Of Truth
|
||||
|
||||
Current status:
|
||||
- release workflow computes checksum-pinned formula values from published assets
|
||||
- tap sync remains gated by `HOMEBREW_PUBLISH_ENABLED=1`
|
||||
- template: `packaging/homebrew/Formula/openbitdo.rb.tmpl`
|
||||
- renderer: `packaging/scripts/render_release_metadata.sh`
|
||||
- sync helper: `packaging/homebrew/sync_tap.sh`
|
||||
|
||||
Optional sync helper:
|
||||
- `sync_tap.sh` (disabled by default unless `HOMEBREW_PUBLISH_ENABLED=1`)
|
||||
The main repo does not keep a checked-in rendered formula. Release rendering produces the formula from published assets, and the tap repo is the canonical published destination.
|
||||
|
||||
## Publish Flow
|
||||
|
||||
1. Publish GitHub release assets for a `v*` tag.
|
||||
2. Render a checksum-pinned formula from those assets.
|
||||
3. Upload the rendered formula as a workflow artifact for audit.
|
||||
4. Sync the rendered formula to `bybrooklyn/homebrew-openbitdo`.
|
||||
|
||||
## Required Controls
|
||||
|
||||
- repo variable `HOMEBREW_PUBLISH_ENABLED=1`
|
||||
- repo variable `HOMEBREW_TAP_REPO=bybrooklyn/homebrew-openbitdo`
|
||||
- secret `HOMEBREW_TAP_TOKEN`
|
||||
|
||||
Reference in New Issue
Block a user