Skip to content

Commit a0c985b

Browse files
Update steps description
1 parent 4352954 commit a0c985b

File tree

1 file changed

+10
-8
lines changed

1 file changed

+10
-8
lines changed

README.md

Lines changed: 10 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -2,16 +2,18 @@
22

33
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:
44

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.
129
* 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.
1312

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).
1517

1618
## Using this tool
1719

0 commit comments

Comments
 (0)