Commit c21e3b3 1 parent 1e70502 commit c21e3b3 Copy full SHA for c21e3b3
File tree 2 files changed +12
-1
lines changed
packages/electron-publish/src
2 files changed +12
-1
lines changed Original file line number Diff line number Diff line change
1
+ ---
2
+ " electron-publish " : patch
3
+ ---
4
+
5
+ fix: get CI tag in GitHub Actions
Original file line number Diff line number Diff line change @@ -131,6 +131,12 @@ export abstract class HttpPublisher extends Publisher {
131
131
132
132
export function getCiTag ( ) {
133
133
const tag =
134
- 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
134
+ process . env . TRAVIS_TAG ||
135
+ process . env . APPVEYOR_REPO_TAG_NAME ||
136
+ process . env . CIRCLE_TAG ||
137
+ process . env . BITRISE_GIT_TAG ||
138
+ process . env . CI_BUILD_TAG ||
139
+ process . env . BITBUCKET_TAG ||
140
+ ( process . env . GITHUB_REF_TYPE === "tag" ? process . env . GITHUB_REF_NAME : null )
135
141
return tag != null && tag . length > 0 ? tag : null
136
142
}
You can’t perform that action at this time.
0 commit comments