-
Notifications
You must be signed in to change notification settings - Fork 20
Step to publish
Chirag Rami edited this page Jun 18, 2024
·
2 revisions
- Checkout
master
branch:
$ git checkout master
- Merge
vx.x.x
tomaster
:
$ git merge vx.x.x
- Check again, make sure
package.json
to reflect the master version. E.g. '2.2.7'. - Push to remote:
$ git push
- Tag the latest commit on
master
branch:
$ 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