Skip to content

Releases

Jake Apple edited this page Mar 29, 2018 · 7 revisions

Create a Release Commit

After merging all approved pull requests, pull master down on your local machine. Then run this command in the terminal to get a nicely formatted list git log --pretty=format:'- %s' `git describe --tags --abbrev=0`..HEAD

Update the Changelog & Version Number

  • Paste your pretty markdown list in changelog.md and get the next "Gemstone+Dog".
  • Update the version number in package.json
  • Commit those two changes. Use this format for the subject :bookmark: Release v0.0.00 and use the pretty list as the body.
  • Double check your commit with a git diff

Push to master

On Github, temporarily allow administrators to push to master. You can change this by going to Settings>branches>master

Back on your local machine, push to master. Immediately return to the repo settings and check the 'include administrators' box.

Create a new Release

  • Copy the format from previous releases
  • Tag name should be formatted like this: v0.0.00
  • The title should be the same "Gemstone+Dog" listed in the changelog.
  • Modify the body as necessary. Include the pretty list of changes in the Changes section.

Update the version on NPM

  • Git pull once again to get the latest tag
  • Then run npm publish