We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 17b5081 commit f5340b7Copy full SHA for f5340b7
.changeset/empty-ears-do.md
@@ -0,0 +1,5 @@
1
+---
2
+"electron-publish": patch
3
4
+
5
+fix: use CI_COMMIT_TAG instead of CI_BUILD_TAG for Gitlab CI
packages/electron-publish/src/publisher.ts
@@ -135,7 +135,8 @@ export function getCiTag() {
135
process.env.APPVEYOR_REPO_TAG_NAME ||
136
process.env.CIRCLE_TAG ||
137
process.env.BITRISE_GIT_TAG ||
138
- process.env.CI_BUILD_TAG ||
+ process.env.CI_BUILD_TAG || // deprecated, GitLab uses `CI_COMMIT_TAG` instead
139
+ process.env.CI_COMMIT_TAG ||
140
process.env.BITBUCKET_TAG ||
141
(process.env.GITHUB_REF_TYPE === "tag" ? process.env.GITHUB_REF_NAME : null)
142
return tag != null && tag.length > 0 ? tag : null
0 commit comments