Skip to content

Releases

Thomas Schaffter edited this page Oct 23, 2019 · 6 revisions

Creating a new release

  • Install release-it: npm install release-it
  • Set env var GITHUB_TOKEN
  • Preview release: npx release-it premajor --preRelease=alpha --dry-run
  • Create new release: npx release-it premajor --preRelease=alpha (automatically increment version in package.json)

Update: Next time, try creating the file .release-it.json with the following content as an attempt to have releases properly titled and with changelog:

{
  "github": {
    "release": true
  }
}

Changelog

github-changelog-generator

While release-it can automatically generate changelog, here is another solution using github_changelog_generator. The changelog will then be available in CHANGELOG.md.

/usr/local/lib/ruby/gems/2.6.0/bin/github_changelog_generator -u Sage-Bionetworks -p PHCCollaborationPortal --token ${GITHUB_TOKEN}
Clone this wiki locally