Release and Homebrew
lifi ships through GitHub Releases, and the lifi-cli repository doubles as
the Homebrew tap.
Release flow
-
Run the verification checklist in operations.md.
-
Commit and push
main. -
Tag a semantic version like
v0.1.1. -
Push the tag.
-
GitHub Actions runs GoReleaser and publishes archives plus
checksums.txt. -
Update the stable Homebrew formula:
./scripts/update_formula.sh v0.1.1 -
Commit the formula update and push
main. -
Verify the release page and install flow.
GitHub release automation
The release workflow uses only the default GITHUB_TOKEN provided by GitHub
Actions. No extra release secret is required for the current setup.
Expected artifacts:
- darwin amd64 tarball
- darwin arm64 tarball
- linux amd64 tarball
- linux arm64 tarball
checksums.txt
Local snapshot
make snapshotInstall path
brew tap Kirillr-Sibirski/lifi-cli https://github.com/Kirillr-Sibirski/lifi-cli
brew install lifiFor a main build:
brew install --HEAD Kirillr-Sibirski/lifi-cli/lifiRelease verification
After the tag is pushed, confirm:
- the workflow run is green
- the GitHub release page exists for the tag
- release artifacts are downloadable
brew install lifiresolves to the new stable version after the formula update lands