-
Notifications
You must be signed in to change notification settings - Fork 0
Create and publish a release
ignatij edited this page Jan 20, 2020
·
1 revision
- create branch: hotfix/new-version-release (ex. hotfix/1.5.1)
- checkout branch
- update package.json manually (2 files)
- run npm install to update the package.lock files
- commit with the new version as message (ex. git commit -m "1.5.1")
- create tag with the new version (ex. git tag 1.5.1)
- checkout master and merge master with the hotfix branch
- push the two commits and newly created tag (git push --tags origin master)
- delete the dist folder
- npm run package
- navigate to dist folder and find the zip that should be published
- npm whoami (to check if I am logged in)
- npm login (if necessary)
- npm publish zip-file-name