Skip to content

Release checklist

Charles Pierce edited this page Aug 19, 2024 · 24 revisions

Prerequisites

  • If the release includes any changes to the included files, make sure that https://github.com/volta-cli/action is updated to support those changes (including on older versions!) before publishing the new release.

Release notes

  • Update ./RELEASES.md with a new entry. Add a bullet item for every user-facing PR that has been merged since the last release.
  • Update ./Cargo.toml to have the new version in the version field.
  • Commit this change with a commit message "v$version" where $version is the new version.
  • Push and make sure CI passes.

Build

  • Once the release notes are merged into main, update your local copy
  • Create a new tag, in the form v$VERSION: git tag v0.8.0
  • Push the new tag to the main repo: git push upstream v0.8.0
  • The CI process should build and create a draft release named v$VERSION

Publish

Publish to Winget

  • Ensure you have wingetcreate installed
  • Run an interactive update: wingetcreate update Volta.Volta -v <version> --interactive
  • When prompted, provide the URLs for the x64 and ARM installer
  • When asked if you want to edit your manifests, choose yes
    • Open the "Installer" manifest
    • Choose to edit the ReleaseDateTime and provide the release date value in YYYY-MM-DD format
    • Select 'Save and Exit' then 'Done'
  • When asked if you want to submit a PR with the update, choose 'yes'

Smoke test

  • curl https://get.volta.sh | bash
  • open new terminal
  • volta version should report the new $VERSION
Clone this wiki locally