guide: update publishing new releases page

This commit is contained in:
Nick Fitzgerald 2018-09-10 15:37:12 -07:00
parent 1a39e4e737
commit e730ee9a62

View File

@ -1,40 +1,24 @@
# Publishing New `wasm-bindgen` Releases # Publishing New `wasm-bindgen` Releases
* [ ] Make sure that your git working copy is clean. 1. <input type="checkbox"/> Compile the `publish.rs` script:
* [ ] Make sure that you are on the latest `master`:
``` ```
git pull origin master rustc publish.rs
``` ```
* [ ] Run `rustc ./publish.rs` 2. <input type="checkbox"/> Bump every crate's minor version:
* [ ] Run `./publish bump` - this will update all version numbers
* [ ] Write a "0.X.Z" entry in the CHANGELOG.md
* [ ] Commit the version bump:
``` ```
git commit -m "Bump to version 0.X.Z" # Make sure you are in the root of the wasm-bindgen repo!
./publish bump
``` ```
* [ ] Send a PR to the `wasm-bindgen` repository, get it merged 3. <input type="checkbox"/> Send a pull request for the version bump.
* [ ] Check out the merge commit of `wasm-bindgen` 4. <input type="checkbox"/> After the pull request's CI is green and it has been
merged, publish to cargo:
* [ ] Comment out the `[patch]` section in the root `Cargo.toml` that only
exists to make sure that `console_error_panic_hook` in tests is using
*this* `wasm-bindgen` rather than one from crates.io.
* [ ] Run `rustc ./publish.rs`
* [ ] Run `./publish publish`
* [ ] Tag the release and push it:
``` ```
git tag 0.X.Z # Make sure you are in the root of the wasm-bindgen repo!
git push origin --tags ./publish publish
``` ```