Releases are performed automatically with travis.
git tag -a v<major>.<minor>.<patch>
orgit tag -a v<major>.<minor>.<patch>-<prerelease>
('v' required) where anything before the first.
in<prerelease>
will be become the npm dist-tag.git push
git push --tag
- Wait for travis to create a new draft GitHub release with the build attached. At this point the new npm package should have been published.
- Add the release notes to the new draft GitHub release.
- Publish the GitHub release.
git tag -a v1.2.3
will result in1.2.3
being published with thelatest
npm tag.git tag -a v1.2.3-beta
will result in1.2.3-beta
being published with thebeta
npm tag.git tag -a v1.2.3-beta.1
will result in1.2.3-beta.1
being published with thebeta
npm tag.