node package manager

@quarterto/package-version-github-release

package-version-github-release

Create a release on Github using the version number from package.json

usage

Create a Github access token with repo scope and put it in the env variable GITHUB_RELEASE_TOKEN, together with GITHUB_RELEASE_USER (the username for the token), GITHUB_RELEASE_REPO (the repository to create releases in) and SOURCE_VERSION (the commit hash to tag as the release; this is automatically set on Heroku). Run:

package-version-github-release

It's handy to run this with npm lifecycle scripts. You might consider postinstall, postpublish or heroku-postbuild.

licence

MIT