Release workflow (post 0.13.0)

  1. Update the CHANGELOG.md files and send a PR to main.
  2. Create a {version}-prerelease branch from the commit you just made with the CHANGELOG updates.
  3. Update version from 0.0.0 to {version} -- pnpm update-version-to {version}.
  4. Push {version}-prerelease branch to origin.
  5. 🔨(automatic) WORKFLOW (staging.yml).
    • Create new draft release on GitHub.
    • Upload staging artifacts to draft release.
  6. Perform sanity checks
    • ⚠️ Blocker found? Fix, cherry-pick to main, push to the {version}-prerelease branch, and go back to Step 5.
  7. Update the release description with the release notes.
  8. Remove the uploaded staging artifacts from the draft release.
  9. Click on “Publish release”
  10. 🔨(manual) WORKFLOW (release.yml)
    • Select what‘s going to be released on GitHub’s UI
    • Trigger Workflow
    • ⚠️ Something failed? Delete the necessary artifacts from the release (for it to be uploaded again), and re-trigger only what failed.