-
Notifications
You must be signed in to change notification settings - Fork 0
Releases
Thomas Schaffter edited this page Oct 23, 2019
·
6 revisions
- 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 incrementversion
inpackage.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
}
}
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}