Release process - AmadeusITGroup/trax GitHub Wiki

Release

Version x.x.x + publish

  • make sure you're on master branch on your fork, with upstream properly setup
  • bump up version to x.x.x in package.json
  • commit package.json file with docs: release x.x.x
  • tag the release (git tag x.x.x)
  • build the release (yarn build)
  • push to npm npm publish --access public (make sure you're properly logged-in: npm whoami).
    • If you are doing a patch on an old version, only publish the new tag, to avoid overriding latest tag: np publish --tag x.x.x --access public
  • push master to GitHub (git push upstream)
  • push tags to GitHub (git push upstream --tags)