-
Notifications
You must be signed in to change notification settings - Fork 23
Step to publish
Chirag Rami edited this page Jun 18, 2024
·
2 revisions
- Checkout
masterbranch:
$ git checkout master
- Merge
vx.x.xtomaster:
$ git merge vx.x.x
- Check again, make sure
package.jsonto reflect the master version. E.g. '2.2.7'. - Push to remote:
$ git push
- Tag the latest commit on
masterbranch:
$ git tag -a '2.2.7' -m '2.2.7'
- Push tags to
origin:
$ git push origin master --tags
- Publish the package to the Github Package Registry:
$ npm publish