Skip to content

Commit

Permalink
Merge pull request #191 from gtk-rs/bilelmoussaoui-patch-1
Browse files Browse the repository at this point in the history
Add a release process
  • Loading branch information
sdroege committed Aug 7, 2023
2 parents 75a4745 + 8a48e96 commit ac68ef8
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`
- `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 ac68ef8

Please sign in to comment.