node package manager

@quarterto/package-version-sentry-release

package-version-sentry-release

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

usage

In Release Tracking in your Sentry project's settings, copy your webhook URL. Put it in the env variable SENTRY_RELEASE_HOOK and run:

package-version-sentry-release

If SOURCE_VERSION is set (i.e. it's running on Heroku), it'll be used as the Sentry commit ref.

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

licence

MIT