Automatically generate a Sentry release for your site after it finishes building in Netlify.
Make sure build plugins are enabled on your site to see the plugin run.
To install, add the following lines to your netlify.toml file:
[[plugins]]
package = "netlify-plugin-sentry"Note: The [[plugins]] line is required for each plugin, even if you have other plugins in your netlify.toml file already.
Configure the plugin with your sentry settings.
[[plugins]]
package = "netlify-plugin-sentry"
[plugins.inputs]
sentryOrg = ""
sentryProject = ""
sentryAuthKey = ""You can also use site environment variables to configure these values.
process.env.SENTRY_ORG- Your Sentry organization nameprocess.env.SENTRY_PROJECT- Your Sentry project nameprocess.env.SENTRY_AUTH_TOKEN- Auth token for Sentry