@quarterto/package-version-github-release

1.2.0 • Public • Published

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

Readme

Keywords

none

Package Sidebar

Install

npm i @quarterto/package-version-github-release

Weekly Downloads

1

Version

1.2.0

License

none

Last publish

Collaborators

  • quarterto