- Create a new branch for the release
$version
forgir
,gir-files
,gtk-rs-core
,gtk4-rs
- Check that the
gir
andgir-files
submodules are up to date - Switch to using released versions of the dependencies
- keep the git urls and add the
branch
and keeppath
for the local ones
- keep the git urls and add the
- Ensure things are building properly
- Run
cargo publish
- Create a new release from Github named
$version
- Add the new
$version
to.github/workflows/docs.yml
for themain
branch - Update
/latest/stable
link ongh-pages
git clone $repo -b gh-pages --depth=1
cd $repo
unlink ./stable/latest/docs
cd ./stable/latest
ln -sf ../$version/docs ./docs
- Squash the commits in
gh-pages
while you are at it - Update versions in main to the next one
- 🎉