name: set-version description: Updates GG's version number for all components. Use when asked to update the version or create releases.
Version update procedure
- Set package.version in
Cargo.toml. - Run
cargo update. - Set "version" in
package.json. - Run
npm update. - Set version in
Tauri.toml. - Update CHANGELOG.md.
jj commit -m "version number"
CHANGELOG.md update procedure
We follow the https://keepachangelog.com/ standard. The first "##" second-level header in CHANGELOG.md will be either a version number or "[Unreleased]".
- If it's
[Unreleased], it should be replaced with this pattern:[0.xx.y](releases/tag/v0.xx.y). This links to the tag that will later be created on GitHub. - If it already matches the correct pattern, there's no need to update it further.
- If it's anything else, that's a problem - it means the release doesn't have changelog entries. Notify the user about this and stop!
In any case, if this is a .0 update (the first for a given JJ version), ensure that the first line after the second-level header is
This release is based on Jujutsu 0.xx..