Bump to 0.2.15

This commit is contained in:
Nick Fitzgerald
2018-07-26 14:51:20 -07:00
parent a204c8d4b7
commit 9a0470b1c4
15 changed files with 96 additions and 33 deletions

View File

@ -32,4 +32,5 @@
- [Testing](./web-sys/testing.md)
- [Logging](./web-sys/logging.md)
- [Supporting More Web APIs](./web-sys/supporting-more-web-apis.md)
- [Publishing](./publishing.md)
- [Team](./team.md)

51
guide/src/publishing.md Normal file
View File

@ -0,0 +1,51 @@
# Publishing New `wasm-bindgen` Releases
* [ ] Make sure that your git working copy is clean.
* [ ] Make sure that you are on the latest `master`:
```
git pull origin master
```
* [ ] Update `Cargo.toml` versions and dependency versions:
```
git ls-files | grep Cargo.toml | xargs sed -i '' -e 's/0\.X\.Y/0.X.Z/g'
```
where "0.X.Y" is the old version and "0.X.Z" is the new version.
* [ ] Write a "0.X.Z" entry in the CHANGELOG.md
* [ ] Run all the tests for sanity
```
cargo test
cargo test -p js-sys
cargo test -p js-sys --target wasm32-unknown-unknown
cargo test -p wasm-bindgen-webidl
cargo test -p web-sys
```
* [ ] Commit the version bump:
```
git commit -m "Bump to version 0.X.Z"
```
* [ ] 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.
* [ ] Publish the crates in reverse dependency order:
```
cd crates/shared && cargo publish && cd -
cd crates/backend && cargo publish && cd -
cd crates/macro && cargo publish && cd -
cd crates/cli-support && cargo publish && cd -
cd crates/test-project-builder && cargo publish && cd -
cd crates/cli && cargo publish && cd -
cargo publish
```