Skip to content

Commit

Permalink
Detect CI tag for Bitbucket pipelines
Browse files Browse the repository at this point in the history
  • Loading branch information
v4 authored and mmaietta committed Feb 16, 2021
1 parent 8decc18 commit 11aa06c
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions packages/electron-publish/src/publisher.ts
Original file line number Diff line number Diff line change
Expand Up @@ -96,6 +96,6 @@ export abstract class HttpPublisher extends Publisher {
}

export function getCiTag() {
const tag = process.env.TRAVIS_TAG || process.env.APPVEYOR_REPO_TAG_NAME || process.env.CIRCLE_TAG || process.env.BITRISE_GIT_TAG || process.env.CI_BUILD_TAG
const tag = process.env.TRAVIS_TAG || process.env.APPVEYOR_REPO_TAG_NAME || process.env.CIRCLE_TAG || process.env.BITRISE_GIT_TAG || process.env.CI_BUILD_TAG || process.env.BITBUCKET_TAG
return tag != null && tag.length > 0 ? tag : null
}
}

0 comments on commit 11aa06c

Please sign in to comment.