Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add a release process #191

Merged
merged 1 commit into from
Aug 7, 2023
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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
bilelmoussaoui marked this conversation as resolved.
Show resolved Hide resolved
- 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
- 🎉
bilelmoussaoui marked this conversation as resolved.
Show resolved Hide resolved
Loading