We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 8e6f3d1 commit a19e33eCopy full SHA for a19e33e
packages/gatsby/gatsby-node.js
@@ -3,8 +3,9 @@ exports.onCreateWebpackConfig = ({ plugins, actions }) => {
3
plugins: [
4
plugins.define({
5
__SENTRY_RELEASE__: JSON.stringify(
6
- // GitHub Actions - https://help.github.com/en/actions/configuring-and-managing-workflows/using-environment-variables#default-environment-variables
7
- process.env.GITHUB_SHA ||
+ process.env.SENTRY_RELEASE ||
+ // GitHub Actions - https://help.github.com/en/actions/configuring-and-managing-workflows/using-environment-variables#default-environment-variables
8
+ process.env.GITHUB_SHA ||
9
// Netlify - https://docs.netlify.com/configure-builds/environment-variables/#build-metadata
10
process.env.COMMIT_REF ||
11
// Vercel - https://vercel.com/docs/v2/build-step#system-environment-variables
0 commit comments