Skip to content
This repository has been archived by the owner on Apr 4, 2022. It is now read-only.

Releasing

Ethan Glasser-Camp edited this page May 9, 2017 · 4 revisions
  1. Update version in package.json (vX.X.X)
  2. Use git changelog to get the body of the commit below.
  3. $ git commit -am"Bump vX.X.X."
  4. Create a release branch, create a PR out of it, wait for a green build
  5. Merge the PR
  6. From master, $ git tag vX.X.X and $ git push origin vX.X.X
  7. $ npm run publish-to-npm
  8. Ensure the cdn URL is updated appropriately: https://npmcdn.com/kinto-http/dist/kinto-http.min.js

The git changelog alias is:

changelog = "!f() { r=${1:-`git describe --tags --abbrev=0`..HEAD    }; echo Changelog for $r; git log --reverse --no-merges --format='* %s' $r; }; f"

Or, in fish:

function changelog --description 'Generate a changelog since the last tag'
    set -l last_tag (git describe --tags --abbrev=0)
    git log --reverse --no-merges --format='* %s' {$last_tag}..HEAD
end
Clone this wiki locally