-
Notifications
You must be signed in to change notification settings - Fork 15
Releasing
Releasing the Web Toolkit currently requires some manual steps. This page describes what you have to do in order to publish a new version.
Clone the Web Toolkit, make sure you've checked out the latest master branch
where all your changes are merged into.
yarn version --new-version v2.0.0-alpha.3
💡 We currently bump our prerelease version,
which is the last digit in ex. v1.0.0-alpha.1.
The command will do all these things:
- Update
versionfield in yourpackage.json - Commit the version bump with the provided message
- Add a tag for your newly created version, e.g.
v1.2.3
git push --follow-tags
If there is a release note already created in our GitHub releases, just connect it to your newly created version tag.
If there's no entry yet, create it by adding release notes from the tags page.
Build the toolkit.
yarn
yarn buildFinally it's time to publish the built toolkit to npmjs.
npm publish --access public🚨 Don't forget the --access public, because our package name
is scoped, the default is restricted, which we don't want!
☝️ Use npm here, because yarn wants you to bump the version again!
yarn release:dist:zipThen upload the newly generated web-toolkit-vX.Y.Z-dist.zip file to the new GitHub release page.