Releases - HewlettPackard/hpe-js-project-scripts GitHub Wiki
Welcome to the hpe-js-project-scripts wiki!
I'll be using this wiki page to document the release process for each of the packages on the hpe-js-project-scripts
mono repo.
Pre-reqs:
- Make sure you have an NPM account and permission to publish the repo on NPM.
- Make sure you have a 'write' access to the GitHub repo to be able to update the repo's version on its
package.json
(Not a must but makes it easier)
Let's start:
- Test the library and confirm that it performs the desired functionality.
- Collect all info about previous commits into "release notes", and determine the versions change in terms of major/minor/hotfix terminology by semantic versioning.
- Change the version of on the package.json according to the decision made in the previous step.
- Push the
package.json
with its updated version to GitHub master. - Log in to NPM and publish the package from the folder you'd like to release e.g.
project-scripts
. - Go to GitHub, create a new tag from the master branch for this release and publish the release notes you've prepared from previous steps.
- Pray it worked.