This is a list of the things that need to happen during a release.
- Open the associated milestone. All issues and PRs should be closed. If they are not you should reassign all open issues and PRs to future milestones.
- Go through the commit history since last release. Ensure that all PRs
that have landed are marked with the milestone. You can use this to
show all the PRs that are merged on or after YYY-MM-DD:
https://github.com/issues?utf8=%E2%9C%93&q=repo%3Arustwasm%2Fwasm-pack+merged%3A%3E%3DYYYY-MM-DD
- Go through the closed PRs in the milestone. Each should have a changelog label indicating if the change is docs, fix, feature, or maintenance. If there is a missing label, please add one.
- Choose an emoji for the release. Try to make it some sort of transition from the previous releases emoji (point releases can be a little weirder).
- Create a new branch "#.#.#" where "#.#.#" is the release's version.
- Add this release to the
CHANGELOG.md
. Use the structure of previous entries. - Update
DEFAULT_CHROMEDRIVER_VERSION
inchromedriver.rs
. Version is the response ofhttps://chromedriver.storage.googleapis.com/LATEST_RELEASE
. - Update
DEFAULT_GECKODRIVER_VERSION
ingeckodriver.rs
. Version is the name of the latest tag -https://github.com/mozilla/geckodriver/releases/latest
. - Update the version in
Cargo.toml
. - Update the version number and date in
docs/index.html
. - Run
cargo update
. - Run
cargo test
. - Run
cargo build
. - Copy
README.md
tonpm/README.md
- Bump the version number in
npm/package.json
cd npm && npm install
- Push up a commit with the
Cargo.toml
,Cargo.lock
,docs/index.html
, andCHANGELOG.md
changes. The commit message can just be "#.#.#". - Request review from
@ashleygwilliams
and@drager
. git commit --amend
all changes into the single commit.- Once ready to merge, tag the commit with the tag
v#.#.#
. - Wait for the CI to go green.
- The CI will build the release binaries. Take the
CHANGELOG.md
release entry and cut and paste it into the release body. - Be sure to add any missing link definitions to the release.
- Hit the big green Merge button.
git checkout master
andgit pull --rebase origin master
- Run
cargo test
. cargo publish
cd npm && npm publish
- Tweet.