From f6d7bfdb82aafd9b7d22d30879dd4b3297543e85 Mon Sep 17 00:00:00 2001
From: Pierre Ozoux <pierre@ozoux.net>
Date: Fri, 17 Mar 2023 11:59:34 +0000
Subject: [PATCH] Adds debug.

---
 .gitlab-ci.yml | 4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)

diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml
index 2dee379..68fbd9b 100644
--- a/.gitlab-ci.yml
+++ b/.gitlab-ci.yml
@@ -5,7 +5,7 @@ variables:
 .compute_version: &compute_version
   - if [ "$CHANNEL" == "stable" ]; then export FILTER="grep -v beta"; else export FILTER="grep beta"; fi
   - export DISCOURSE_VERSION=`wget -qO- https://api.github.com/repos/discourse/discourse/tags | grep name | cut -d'"' -f4 | $FILTER | head -n1`
-  -  export DATE=`date "+%Y-%m-%dT%H-%M-%SZ"`
+  - export DATE=`date "+%Y-%m-%dT%H-%M-%SZ"`
 
 .test:
   image:
@@ -16,6 +16,8 @@ variables:
   script:
     - *compute_version
     - export DISCOURSE_MAJOR=`echo $DISCOURSE_VERSION | cut -d"." -f1-3`
+    - echo $DISCOURSE_MAJOR
+    - echo $DISCOURSE_VERSION
     - /kaniko/executor --context .  ${DESTINATION} --build-arg DISCOURSE_VERSION=$DISCOURSE_VERSION  
   except:
   - master
-- 
GitLab