Skip to content
Snippets Groups Projects
Commit d52b2e38 authored by TheLD's avatar TheLD
Browse files

ci: fix quoting errors and rules

parent 58ecffbd
1 merge request!7Theld/setup dev env ci
Pipeline #13700 canceled
......@@ -3,9 +3,8 @@ variables:
.prepare:
before_script:
- export
- git config user.email $GITLAB_USER_EMAIL
- git config user.name $GITLAB_USER_NAME
- git config user.email "$GITLAB_USER_EMAIL"
- git config user.name "$GITLAB_USER_NAME"
- git remote set-url origin "https://gitlab-ci-token:$GITLAB_TOKEN@$CI_SERVER_HOST/$CI_PROJECT_PATH.git"
- git checkout $CI_COMMIT_BRANCH
......@@ -55,7 +54,7 @@ build-version-stable:
rules:
- if: $CI_COMMIT_TAG
when: never
- if: $CI_COMMIT_BRANCH == "master"
- if: $CI_COMMIT_BRANCH == "master" && $CI_COMMIT_TITLE !~ /v[0-9]+\.[0-9]+\.[0-9]+(-.+)?/
build-publish-stable:
image: node:${NODE_VERSION}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment