Files
swift-hpa/Release.md

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, on github more of these steps can be automated in ci, but there are no macOS host runners currently in gitea, so the bottles need built on macOS.

  1. Update the version in Sources/hpa/Version.swift.
  2. Tag the commit with the next version tag.
  3. Push the tagged commit, this will initiate the release being created.
  4. Get the sha of the *.tar.gz in the release.
    1. just get-release-sha
  5. Update the homebrew formula url, sha256, and version at top of the homebrew formula.
    1. cd $(brew --repo michael/formula)
  6. Build and generate a homebrew bottle.
    1. just bottle
  7. Update the bottle do section of homebrew formula with output during previous step.
    1. Also make sure the root_url in the bottle section points to the new release.
  8. Upload the bottle *.tar.gz file that was created to the release.
  9. Generate a pull-request to the formula repo.
  10. Generate a pull-request to this repo to merge into main.
  11. Remove the bottle from current directory.
    1. just remove-bottles