Skip to content

Instantly share code, notes, and snippets.

@zeke
Created December 2, 2017 00:31
Show Gist options
  • Save zeke/340a502ea9830cf66d47fa63aa0dad66 to your computer and use it in GitHub Desktop.
Save zeke/340a502ea9830cf66d47fa63aa0dad66 to your computer and use it in GitHub Desktop.
A TLDR guide to setting up semantic-release, for the adventurous. https://github.com/semantic-release
npm i -g semantic-release-cli
cd my-project
semantic-release-cli setup
# follow the prompts

Tips:

  • Make sure the GitHub user you specify has logged into Travis with GitHub at some point (ever).
  • Make sure you have branch builds enabled in Travis, not just PR builds
  • Use GitHub's [Squash and Merge] button when needed to overwrite the PR's commits with a semantic commit message to ensure a build will be triggered.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment