From 66783db1abd52db0019f93147abc9f7b0feb86ff Mon Sep 17 00:00:00 2001
From: Andre Anjos <andre.dos.anjos@gmail.com>
Date: Tue, 13 Mar 2018 12:23:44 +0100
Subject: [PATCH] Deploy to stable channel (not to root channel)

---
 conda/build-condarc | 1 +
 gitlab/functions.sh | 2 ++
 2 files changed, 3 insertions(+)

diff --git a/conda/build-condarc b/conda/build-condarc
index 2b6b55a..8cf2009 100644
--- a/conda/build-condarc
+++ b/conda/build-condarc
@@ -10,5 +10,6 @@ ssl_verify: false
 quiet: true
 channels:
   - https://www.idiap.ch/software/bob/conda/label/beta
+  - https://www.idiap.ch/software/bob/conda/label/stable
   - https://www.idiap.ch/software/bob/conda
   - defaults
diff --git a/gitlab/functions.sh b/gitlab/functions.sh
index 1874184..cc0b5a4 100644
--- a/gitlab/functions.sh
+++ b/gitlab/functions.sh
@@ -367,9 +367,11 @@ set_conda_channels() {
   fi
   if [ "${1}" == "private" ]; then
     # adds private stable builds (only if the package is also private)
+    CONDA_CHANNELS+=('private/conda/label/stable')
     CONDA_CHANNELS+=('private/conda')
   fi
   # adds public stable builds (always)
+  CONDA_CHANNELS+=('public/conda/label/stable')
   CONDA_CHANNELS+=('public/conda')
   check_array_env CONDA_CHANNELS
 }
-- 
GitLab