Skip to content

Commit cb66fa4

Browse files
author
Cameron McEfee
authored
VERCEL_GITHUB_COMMIT_SHA → VERCEL_GIT_COMMIT_SHA (#3337)
* Update gatsby-node.js * remove additional vercel fallbacks
1 parent 57423ee commit cb66fa4

File tree

1 file changed

+1
-3
lines changed

1 file changed

+1
-3
lines changed

packages/gatsby/gatsby-node.js

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -6,9 +6,7 @@ const sentryRelease = JSON.stringify(
66
// Netlify - https://docs.netlify.com/configure-builds/environment-variables/#build-metadata
77
process.env.COMMIT_REF ||
88
// Vercel - https://vercel.com/docs/v2/build-step#system-environment-variables
9-
process.env.VERCEL_GITHUB_COMMIT_SHA ||
10-
process.env.VERCEL_GITLAB_COMMIT_SHA ||
11-
process.env.VERCEL_BITBUCKET_COMMIT_SHA ||
9+
process.env.VERCEL_GIT_COMMIT_SHA ||
1210
// Zeit (now known as Vercel)
1311
process.env.ZEIT_GITHUB_COMMIT_SHA ||
1412
process.env.ZEIT_GITLAB_COMMIT_SHA ||

0 commit comments

Comments
 (0)