1.2 KiB
1.2 KiB
Release Workflow Steps
This is a reminder of the steps used to create a release and update the homebrew formula.
Note: These steps apply to the version hosted on
gitea, ongithubmore of these steps can be automated inci, but there are nomacOShost runners currently ingitea, so the bottles need built onmacOS.
- Update the version in
Sources/hpa/Version.swift. - Tag the commit with the next version tag.
- Push the tagged commit, this will initiate the release being created.
- Get the
shaof the*.tar.gzin the release.just get-release-sha
- Update the homebrew formula url, sha256, and version at top of the homebrew formula.
cd $(brew --repo michael/formula)
- Build and generate a homebrew bottle.
just bottle
- Update the
bottle dosection of homebrew formula with output during previous step.- Also make sure the
root_urlin the bottle section points to the new release.
- Also make sure the
- Upload the bottle
*.tar.gzfile that was created to the release. - Generate a pull-request to the formula repo.
- Generate a pull-request to this repo to merge into main.
- Remove the bottle from current directory.
just remove-bottles