Releasing - uqbar-project/wollok-ts-cli GitHub Wiki
These are the steps in order to publish a new release.
Upgrade version in package.json
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.
Create new release in Github
- 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
Publish to npm
Login with a user that is a maintainer in the npm package
npm login
Then run
npm publish
And that's it!
From now on it should be downloadable via latest link.