[gegl] gitlab-ci: do the min-babl checkout in a shell conditional
- From: Øyvind "pippin" Kolås <ok src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gegl] gitlab-ci: do the min-babl checkout in a shell conditional
- Date: Mon, 12 Aug 2019 15:59:23 +0000 (UTC)
commit 00c2aadcf31aad0c3351bac6d755e4eb334711ed
Author: Øyvind Kolås <pippin gimp org>
Date: Mon Aug 12 17:59:08 2019 +0200
gitlab-ci: do the min-babl checkout in a shell conditional
.gitlab-ci.yml | 4 +---
1 file changed, 1 insertion(+), 3 deletions(-)
---
diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml
index cf7ba8c85..13b122797 100644
--- a/.gitlab-ci.yml
+++ b/.gitlab-ci.yml
@@ -38,9 +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
+ - if [ x$(( `cut .babl_min_version -f 3 -d _` % 2)) == x1 ] ; then git fetch --no-tags ; git checout
master ; else ; git fetch --no-tags origin "refs/tags/BABL_`cat .babl_min_version`:refs/tags/MIN_VERSION" ;
git checkout MIN_VERSION ; fi
- meson -Dprefix="$BABL_PREFIX" _build
- ninja -C _build
- ninja -C _build install
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]