| 1 |
# Publishing New `wasm-bindgen` Releases |
| 2 |
|
| 3 |
1. <input type="checkbox"/> Compile the `publish.rs` script: |
| 4 |
|
| 5 |
``` |
| 6 |
rustc publish.rs |
| 7 |
``` |
| 8 |
|
| 9 |
2. <input type="checkbox"/> Bump every crate's minor version: |
| 10 |
|
| 11 |
``` |
| 12 |
# Make sure you are in the root of the wasm-bindgen repo! |
| 13 |
./publish bump |
| 14 |
``` |
| 15 |
|
| 16 |
3. <input type="checkbox"/> Update CHANGELOG.md to add the to-be-released version number, compare URL and release date. [See this example](https://github.com/rustwasm/wasm-bindgen/commit/0b5f0eec2f3d5e75a923fd67ef14b3b5cc855c80#diff-06572a96a58dc510037d5efa622f9bec8519bc1beab13c9f251e97e657a9d4ed) |
| 17 |
|
| 18 |
4. <input type="checkbox"/> Send a pull request for the version bump. |
| 19 |
|
| 20 |
5. <input type="checkbox"/> After the pull request's CI is green and it has been |
| 21 |
merged, publish to cargo: |
| 22 |
|
| 23 |
``` |
| 24 |
# Make sure you are in the root of the wasm-bindgen repo! |
| 25 |
./publish publish |
| 26 |
``` |