- Bump the version by running
npm run version [<newversion> | major | minor | patch | etc]. PR & merge.- For a prerelease, either pass the version explicitly (e.g.
npm run version 1.8.2-rc.1) or let npm compute it:npm run version prepatch --preid rcbumps 1.8.1 to1.8.2-rc.0, and each subsequentnpm run version prereleaseincrements to-rc.1,-rc.2, etc. - To graduate a prerelease to the final release, use the increment level the prerelease was building toward:
npm run version patchstrips the suffix in place (1.8.2-rc.1→1.8.2). Likewiseminorgraduates1.9.0-rc.1→1.9.0. Careful with higher levels:minorfrom1.8.2-rc.1jumps to1.9.0, skipping1.8.2entirely. - Omit the
vprefix;package.jsonstores the bare version and the git tag gets thevadded automatically. - Note that pushing a prerelease tag triggers the signed-build workflow like any other
v*tag.
- For a prerelease, either pass the version explicitly (e.g.
- Run
./scripts/tagRelease.jsto create and push a new tag. This will trigger theBuild Signed Artifacts and Publishworkflow on GitHub.- The workflow requires approval from a reviewer of the
code-signingenvironment (currently @hipsterusername, @lstein, or @blessedcoolant) to run. - The workflow will create a draft release and upload signed artifacts to the draft. You do not need to upload anything else.
- The workflow requires approval from a reviewer of the
- Flesh out the GH release, following the format from prior releases.
- Post on Discord in the
releaseschannel, and link to that post in thenew-release-discussionchannel.
The Launcher will prompt the user to update when a new version is available. The user can choose to update now or later. If they choose to update now, the Launcher will download the new version and restart itself.