-
-
Notifications
You must be signed in to change notification settings - Fork 7
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #191 from gtk-rs/bilelmoussaoui-patch-1
Add a release process
- Loading branch information
Showing
1 changed file
with
19 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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 | ||
- 🎉 |