After all pull requests for a release have been merged and all Travis CI builds are green, you may create a release as follows:
-
If you haven't already, switch to the master branch, ensure that you have no changes, and pull from origin.
$ git checkout master $ git status $ git pull <remote> master --rebase
-
Edit the
package.json
file changingversion
field to your new release version and runnpm i
. -
Commit your changes.
$ git commit -am "Release <version>"
-
Push the commit.
$ git push origin head
-
GitHub action will publish new version to NPM and push new tag.
-
Publish new release on GitHub with
release
package.$ git pull $ npx release -P
-
Upload binaries
$ npm run pkg