Permalink
29d9ed4 Nov 2, 2016
35 lines (25 sloc) 1.22 KB

Releasing

  1. Update the version number in these places:

    • lib/bourbon/version.rb
    • core/_bourbon.scss
    • package.json
    • bower.json
    • README.md
  2. Update CHANGELOG.md. We follow the guidelines from Keep a CHANGELOG.

  3. Commit changes. Use the convention “Bourbon vX.X.X” in your commit message. There shouldn’t be code changes, and thus CI doesn’t need to run.

  4. Run bundle exec rake release, which tags the release, pushes the tag to GitHub, and pushes the gem to RubyGems.org.

  5. Run npm publish, which pushes the new version to npm’s registry (if releasing a pre-release, run npm publish --tag beta).

  6. Draft a new GitHub release. Upon publishing, a tweet will automatically be sent on the @bourbonsass Twitter account via Zapier. It will look like this:

    We’ve released {release_title}: {release_link}

  7. Re-generate and publish the documentation website, using the available Rake tasks.