Skip to content

Commit

Permalink
Add a release process
Browse files Browse the repository at this point in the history
  • Loading branch information
bilelmoussaoui committed Jul 23, 2023
1 parent 75a4745 commit 7c40b6b
Showing 1 changed file with 19 additions and 0 deletions.
19 changes: 19 additions & 0 deletions process.md
Original file line number Diff line number Diff line change
@@ -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` (sadly still manual)
- `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
- 🎉

0 comments on commit 7c40b6b

Please sign in to comment.