This document describes the process for releasing a new version of the builtin-actors
project.
- Create a pull request which updates the
workspace.package.version
in the top-levelCargo.toml
file.- Title the PR
chore: release X.Y.Z
- Title the PR
- On pull request creation, a Release Checker workflow will run. It will perform the following actions:
- Extract the version from the top-level
Cargo.toml
file. - Check if a git tag for the version already exists. Continue only if it does not.
- Create a draft GitHub release with the version as the tag. (A git tag with this version string will be created when the release is published.)
- Comment on the pull request with a link to the draft release.
- Extract the version from the top-level
- On pull request merge, a Releaser workflow will run. It will perform the following actions:
- Extract the version from the top-level
Cargo.toml
file. - Check if a git tag for the version already exists. Continue only if it does not.
- Check if a draft GitHub release with the version as the tag exists. Otherwise, create it.
- Trigger the Upload Release Assets workflow to:
- Build
builtin-actors.car
s for various networks. - Generate checksums for the built
builtin-actors.car
s. - Upload the built
builtin-actors.car
s and checksums as assets to the draft release.
- Build
- Publish the draft release. Publishing the release creates the git tag.
- Extract the version from the top-level
- Unless triggered manually, release assets will only be built after merging the release PR.