You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: README.md
+10-8Lines changed: 10 additions & 8 deletions
Original file line number
Diff line number
Diff line change
@@ -2,16 +2,18 @@
2
2
3
3
Since gtk-rs has multiple crates which have inter-dependencies, it's a bit painful to make a new release. So here are the multiple steps:
4
4
5
-
* Merge `master` branch into `crate` branch in every repository (starting with `sys` and ending with `gtk`). (/!\ `cairo-sys` is in `cairo` repository, not `sys` /!\)
6
-
* Update crate version in `Cargo.toml` and the number of its `gtk-rs` dependencies.
7
-
* Open pull requests to `crate` branches to corresponding repositories.
8
-
* Once pull requests have been merged, publish all crates to `crates.io` (using the `cargo publish` command).
9
-
* Generate new docs (don't forget `--all-features` when using `cargo doc`!). To do so, go to `gtk` directory (in `crate` branch) and run `cargo doc --features=embed-lgpl-docs`. Then run `cp -r target/doc/* ../docs` (where `docs` is the corresponding directory for the `gtk-rs/docs` repository). Commit then push the changes to the `docs` (make a pull request and all the usual stuff...).
10
-
* Merge `pending` branch into `master` in the `gtk-rs/examples` repository (by opening a pull request of course).
11
-
* Update badges version number in the `_data/crates.json` in the `gtk-rs/gtk-rs.github.io` repositoryz.
5
+
* Get the current version for all crates (all crates in one repository should all have the same!).
6
+
* Replace git dependencies with crates.io ones.
7
+
* Push those changes to a branch with `MAJOR.MEDIUM` name.
8
+
* Push tags.
12
9
* Write a blog post (add the file into `_posts` folder in `gtk-rs.github.io` repository) announcing the new release.
10
+
* Publish crates.
11
+
* Update dev branch crates' version.
13
12
14
-
NOTE: Pull requests on the `crate` branch aren't build.
13
+
Note that the github token is used for two things:
14
+
15
+
1. Gathering the merged pull requests.
16
+
2. Opening pull requests (for the version updates).
0 commit comments