Restore Homebrew publication after stable GitHub releases
The v1.0.2 build published a valid macOS archive, but its release workflow lacked the Homebrew job that published v1.0.0. Restore the job, updater, tests and setup notes from a707076 alongside the existing Arch and OpenArtifact jobs. Verify the Apple Silicon archive against the published GitHub digest before updating the CLI formula and GUI cask in one tap commit. Skip prereleases and older versions, and retry from the current tap head after a concurrent push. Use the existing HOMEBREW_TAP_TOKEN with the same tap and branch. On macOS, all three updater tests passed. Exercised the workflow shell with the real v1.0.2 archive, mocked release transport and a local Git remote, including checksum rejection, concurrent updates and retries. Actionlint and ShellCheck passed with the old actionlint runner list exception for ubuntu-26.04. Workspace formatting and strict Clippy passed. All 568 default tests passed with three ignored after enabling loopback for the test run. No live workflow was triggered.
This commit is contained in:
1 parent
ee77ddb9ac
commit
21b8381fa3
4 files changed
+199
No files matched your search
Vendored
+13
@@ -41,6 +41,19 @@ The cask starts the service for you. The agent runs as root, and its control
|
||||
socket is open to the `admin` group, so the CLI and the tray work without
|
||||
`sudo` for an administrator.
|
||||
|
||||
### Publishing Homebrew packages
|
||||
|
||||
After a stable `vMAJOR.MINOR.PATCH` GitHub release uploads its assets, the
|
||||
`Update the Homebrew tap` job verifies the Apple Silicon archive against its
|
||||
GitHub release digest and updates the `tsunagi` formula and `tsunagi-gui` cask
|
||||
together on `house-of-vanity/homebrew-tap`'s `main` branch.
|
||||
|
||||
Set the `HOMEBREW_TAP_TOKEN` Actions secret in `house-of-vanity/tsunagi` to a
|
||||
fine-grained token with **Contents: Read and write** on
|
||||
`house-of-vanity/homebrew-tap`. The token must be able to push to `main`.
|
||||
If publication fails, fix the reported error and rerun the Homebrew job on
|
||||
the existing release workflow run.
|
||||
|
||||
## Native deployment — root LaunchDaemon
|
||||
|
||||
For an always-on agent that starts at boot, install the bundled
|
||||
|
||||
Reference in new issue
Block a user