-
Notifications
You must be signed in to change notification settings - Fork 7
Releasing
Fernando Dodino edited this page Sep 19, 2024
·
12 revisions
These are the steps in order to publish a new release.
Go to package.json
file and change the version:
{
"name": "wollok-ts-cli",
"version": "0.2.0",
Check also wollok-ts
version.
Remember to follow semantic versioning. Then create a PR and merge it to default branch.
- Go to the draft release page in Github for this repository.
- Update the release: changelog should have wollok-ts version & important updates
- Create a custom tag, name it
vX.Y.Z
where X.Y.Z represent major.minor.patch part of the version. For example:0.2.0
> Create tag on publish (it should match the one inpackage.json
file) - Name the release X.Y.Z (same convention as before)
- Keep
Set as a pre-release
unchecked - Keep
Set as the latest release
checked - Hit the
Save Draft
button
Login with a user that is a maintainer in the npm package
npm login
Then run
npm publish
From now on it should be downloadable via latest link.