[gegl] gitlab-ci: use master if babl micro is odd



commit 4c561bd43706cd3424e9d46f432ac8e91068da22
Author: Øyvind Kolås <pippin gimp org>
Date:   Mon Aug 12 17:51:59 2019 +0200

    gitlab-ci: use master if babl micro is odd

 .gitlab-ci.yml | 1 +
 1 file changed, 1 insertion(+)
---
diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml
index 1d2425da8..cf7ba8c85 100644
--- a/.gitlab-ci.yml
+++ b/.gitlab-ci.yml
@@ -38,6 +38,7 @@ babl-min-meson:
   extends: .babl-base
   script:
     - grep babl_required_version ../configure.ac | grep -o '[0-9]*\.[0-9]*\.[0-9]*' | sed 's/\./_/g' > 
.babl_min_version
+    - if [ x$(( `cut .babl_min_version -f 3 -d _` % 2)) == x1 ] ;then echo master > .babl_min_version ; fi
     - git fetch --no-tags origin "refs/tags/BABL_`cat .babl_min_version`:refs/tags/MIN_VERSION"
     - git checkout MIN_VERSION
     - meson -Dprefix="$BABL_PREFIX" _build


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