2018-07-26 14:51:20 -07:00
|
|
|
# Publishing New `wasm-bindgen` Releases
|
|
|
|
|
2018-09-10 15:37:12 -07:00
|
|
|
1. <input type="checkbox"/> Compile the `publish.rs` script:
|
2018-07-26 14:51:20 -07:00
|
|
|
|
2018-09-10 15:37:12 -07:00
|
|
|
```
|
|
|
|
rustc publish.rs
|
|
|
|
```
|
2018-07-26 14:51:20 -07:00
|
|
|
|
2018-09-10 15:37:12 -07:00
|
|
|
2. <input type="checkbox"/> Bump every crate's minor version:
|
2018-07-26 14:51:20 -07:00
|
|
|
|
2018-09-10 15:37:12 -07:00
|
|
|
```
|
|
|
|
# Make sure you are in the root of the wasm-bindgen repo!
|
|
|
|
./publish bump
|
|
|
|
```
|
2018-07-26 14:51:20 -07:00
|
|
|
|
2018-09-10 15:37:12 -07:00
|
|
|
3. <input type="checkbox"/> Send a pull request for the version bump.
|
2018-07-26 14:51:20 -07:00
|
|
|
|
2018-09-10 15:37:12 -07:00
|
|
|
4. <input type="checkbox"/> After the pull request's CI is green and it has been
|
|
|
|
merged, publish to cargo:
|
2018-07-26 14:51:20 -07:00
|
|
|
|
2018-09-10 15:37:12 -07:00
|
|
|
```
|
|
|
|
# Make sure you are in the root of the wasm-bindgen repo!
|
|
|
|
./publish publish
|
|
|
|
```
|