Skip to content

Commit 40f9184

Browse files
authored
feat: Detect release name for Flightcontrol (#411)
1 parent 58271f1 commit 40f9184

File tree

1 file changed

+2
-0
lines changed
  • packages/bundler-plugin-core/src

1 file changed

+2
-0
lines changed

packages/bundler-plugin-core/src/utils.ts

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -230,6 +230,8 @@ export function determineReleaseName(): string | undefined {
230230
process.env["ZEIT_GITHUB_COMMIT_SHA"] ||
231231
process.env["ZEIT_GITLAB_COMMIT_SHA"] ||
232232
process.env["ZEIT_BITBUCKET_COMMIT_SHA"] ||
233+
// Flightcontrol - https://www.flightcontrol.dev/docs/guides/flightcontrol/environment-variables#built-in-environment-variables
234+
process.env["FC_GIT_COMMIT_SHA"] ||
233235
gitRevision()
234236
);
235237
}

0 commit comments

Comments
 (0)