From 8a48e964b3b14cedb4dc3599bc4cfd22c4644004 Mon Sep 17 00:00:00 2001 From: Bilal Elmoussaoui Date: Wed, 19 Oct 2022 09:05:24 +0200 Subject: [PATCH] Add a release process --- process.md | 19 +++++++++++++++++++ 1 file changed, 19 insertions(+) create mode 100644 process.md diff --git a/process.md b/process.md new file mode 100644 index 0000000..7d1b25e --- /dev/null +++ b/process.md @@ -0,0 +1,19 @@ +# Release process + +- Create a new branch for the release `$version` for `gir`, `gir-files`, `gtk-rs-core`, `gtk4-rs` +- Check that the `gir` and `gir-files` submodules are up to date +- Switch to using released versions of the dependencies + - keep the git urls and add the `branch` and keep `path` for the local ones +- 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 the `main` branch +- Update `/latest/stable` link on `gh-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 master to the next one +- 🎉