mirror of
https://github.com/fluencelabs/wasm-bindgen
synced 2025-06-12 20:41:24 +00:00
Bump to 0.2.15
This commit is contained in:
@ -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
51
guide/src/publishing.md
Normal 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
|
||||
```
|
Reference in New Issue
Block a user