Skip to content

Latest commit

 

History

History
49 lines (37 loc) · 2.17 KB

releasing.md

File metadata and controls

49 lines (37 loc) · 2.17 KB

Releasing

To initiate a new production deployment:

script/release vX.Y.Z

See script/release --help for more information.

Note:
Every production release will request an approval by the select few people before it can proceed.

What this does is:

To test out the build system while avoiding creating an actual release:

script/release --staging vX.Y.Z --branch patch-1 -p macos

The build artifacts will be available via gh run download <RUN> -n macos.

General guidelines

  • Features to be released should be reviewed and approved at least one day prior to the release.
  • Feature releases should bump up the minor version number.
  • Breaking releases should bump up the major version number. These should generally be rare.

Test the build system locally

A local release can be created for testing without creating anything official on the release page.

  1. Make sure GoReleaser is installed: brew install goreleaser
  2. script/release --local
  3. Find the built products under dist/.

Cleaning up a bad release

Occasionally, it might be necessary to clean up a bad release and re-release.

  1. Delete the release and associated tag
  2. Re-release and monitor the workflow run logs
  3. Open pull request updating gh Homebrew formula with new SHA versions, linking the previous PR
  4. Verify resulting Debian and RPM packages, Homebrew formula