You will need a working installation of git-extras for this.
The release process is mostly automated, here is a brief overview of the steps
npm version [keyword]- Builds a new version
- Updates
History.md- you will need to edit this - Updates
AUTHORS - Updates
package.jsonwith new version - Creates a new git tag
npm publishpublishes the new release to the npm registrygit push origin --follow-tagspushes the changes to GitHub
Each step is described in detail below.
Prefer the builtin options over explicit version when you can:
npm version [<newversion> | major | minor | patch | premajor | preminor | prepatch | prerelease | from-git]After this, your default editor will show the updated History.md. Please make edits to this to remove service commits (like updating devDependencies) and commits that only change documentation.
npm publishThis adds both the tags and the documentation for the new release to GitHub, which will then build a new site for GitHub Pages.
git push origin --follow-tagsAssuming origin is pointing to the main GitHub repo.