[gnome-settings-daemon/wip/claudio/CI] CI: Adjust skipping to be the same as g-c-c



commit 0ef685af8e16c88d3fa28aa52199a8855576f888
Author: Benjamin Berg <bberg redhat com>
Date:   Mon Feb 4 12:19:53 2019 +0100

    CI: Adjust skipping to be the same as g-c-c

 .gitlab-ci.yml | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
---
diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml
index 48028179..2607d2d5 100644
--- a/.gitlab-ci.yml
+++ b/.gitlab-ci.yml
@@ -186,7 +186,7 @@ msan:
   script:
     # Skip the build (if requested)
     - |
-      if [[ -z "${CI_COMMIT_MESSAGE##*[skip images]*}" && -z "${CI_COMMIT_MESSAGE##*[$NAME]*}" ]]; then
+      if [[ -z "${CI_COMMIT_MESSAGE##*'[skip images]'*}" ]]; then
         echo "message: $CI_COMMIT_MESSAGE"
         echo "== Nothing to do =="
         exit 0


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]