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 38b7d33 commit ea8e0fdCopy full SHA for ea8e0fd
.gitlab-ci.yml
@@ -149,7 +149,7 @@ cli:npm:publish:
149
# - v0.14.0-dev.1
150
# - 0.14.0-dev.1
151
# - 0.14-dev.1 (normalized to 0.14.0-dev.1)
152
- RAW_TAG="${CI_COMMIT_TAG:-}"
+ RAW_TAG="${CI_COMMIT_TAG:-${CI_COMMIT_REF_NAME:-}}"
153
if [ -z "$RAW_TAG" ]; then
154
echo "CI_COMMIT_TAG is empty"
155
exit 1
@@ -188,6 +188,7 @@ cli:npm:publish:
188
- rm -f ~/.npmrc
189
rules:
190
- if: '$CI_COMMIT_TAG =~ /^v?\\d+\\.\\d+(\\.\\d+)?-(dev|beta)\\.\\d+$/'
191
+ - if: '$CI_PIPELINE_SOURCE == "web" && $CI_COMMIT_REF_NAME =~ /^v?\\d+\\.\\d+(\\.\\d+)?-(dev|beta)\\.\\d+$/'
192
193
cli:node:e2e:dind:
194
stage: test
0 commit comments