From c052bb08009a5f8eb0a32ef3be845a36261e48a4 Mon Sep 17 00:00:00 2001
From: Sylvester Joosten <sylvester.joosten@gmail.com>
Date: Thu, 7 Jan 2021 18:11:02 -0600
Subject: [PATCH] Update .gitlab-ci.yml

---
 .gitlab-ci.yml | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml
index 1de0061cb..445456da9 100644
--- a/.gitlab-ci.yml
+++ b/.gitlab-ci.yml
@@ -38,9 +38,9 @@ init:
   rules:
     - if: '$CI_COMMIT_BRANCH == "master"'
       when: always
-    - if: '$CI_COMMIT_BRANCH ~= "/^v[0-9]+\.[0-9]-stable/"'
+    - if: '$CI_COMMIT_BRANCH =~ /^v[0-9]+\.[0-9]-stable/'
       when: always
-    - if: '$CI_COMMIT_TAG ~= "/^v[0-9]+\.[0-9]+\.[0-9]+/"'
+    - if: '$CI_COMMIT_TAG =~ /^v[0-9]+\.[0-9]+\.[0-9]+/'
       when: always
     - if: '$CI_PIPELINE_SOURCE == "merge_request_event"'
       when: always
@@ -57,4 +57,4 @@ run:default:
   trigger:
     include: 
       - artifact: build_and_deploy.yml
-      - job: build_and_deploy
+        job: build_and_deploy
-- 
GitLab