Heroku buildpack to upload sourcemaps to Sentry using sentry-cli.
Note from Michael: this buildpack is not being used on Thistle apps. The main issue I encountered when using this method of giving release info to Sentry is that it doesn't run on promotion to production. Since we have a two-part prod pipeline, the release finalization should be sent on promotion.
Define the following configuration variables within Herkou app. See Heroku Documentaiton for more informaiton.
SENTRY_AUTH_TOKEN: the Sentry API authentication tokenSENTRY_ORG: the Sentry organization the project lives underSENTRY_PROJECT: the Sentry project the source maps belong too
You can get it on the API page. The token needs the project:write scope to be able to upload. The token value would be saved as the SENTRY_AUTH_TOKEN configuration variables.
MIT.