Skip to content

Commit 1e7d413

Browse files
authored
feat: Detect release name for Bitbucket pipelines (#404)
1 parent baf2944 commit 1e7d413

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
@@ -217,6 +217,8 @@ export function determineReleaseName(): string | undefined {
217217
process.env["CF_PAGES_COMMIT_SHA"] ||
218218
// AWS CodeBuild - https://docs.aws.amazon.com/codebuild/latest/userguide/build-env-ref-env-vars.html
219219
process.env["CODEBUILD_RESOLVED_SOURCE_VERSION"] ||
220+
// Bitbucket - https://support.atlassian.com/bitbucket-cloud/docs/variables-and-secrets/
221+
process.env["BITBUCKET_COMMIT"] ||
220222
// CircleCI - https://circleci.com/docs/2.0/env-vars/
221223
process.env["CIRCLE_SHA1"] ||
222224
// Vercel - https://vercel.com/docs/v2/build-step#system-environment-variables

0 commit comments

Comments
 (0)