Prerequisites:
cargo install git-cliffand ensure that~/.cargo/binis on your PATH.
Steps:
- Create release changeset
cargo xtask changelog --bump major|minor|patch- Update project version in
cargo.toml - cargo build, to ensure the lockfile is updated
- run
typosin case anything in the changelog flags (add overrides in _typos.toml if needed) (then rundprint fmtfor formatting) - commit with prefix
chore(release)
- Merge changeset as usual, update
devbranches - Create and push the new tag
- Create the release in Github. Sometimes it's useful to press the button to autogenerate the release notes; sometimes less so.
- ✨✨ automation happens ✨✨
- Confirm that the release artefacts built successfully.
- Update
mainbranch - Tag easy-shader-runner (e.g.
brot3-v1.2.3) and push that tag, so the version used is retained.
Debian package:
cargo xtask debian --release- or equivalently:
cargo build --locked --release --no-default-featurescargo xtask debian --release --no-build
AppImage, osx, alternative Debian:
cargo bundle -b brot3 -p brot3-ui -f <TYPE> -r --no-default-features
Note that the OSX packages are lightly processed to turn them into clickable app images; refer to the relevant section of .github/workflows/build.yml .
Note that appimages produced by cargo bundle are not stripped by default.
