From c624f7bb8cfec71a135659da78132fb2db69c733 Mon Sep 17 00:00:00 2001
From: Jonas Leder <jonas@jonasled.de>
Date: Sun, 18 Jun 2023 12:03:03 +0200
Subject: [PATCH] fiy renovate bot scanning

---
 .gitlab-ci.yml      | 3 +--
 text2img/Chart.yaml | 2 +-
 2 files changed, 2 insertions(+), 3 deletions(-)

diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml
index d404033..5a57463 100644
--- a/.gitlab-ci.yml
+++ b/.gitlab-ci.yml
@@ -47,9 +47,8 @@ Helm:
       - IMAGE_HASH=$(cat image-hash.txt)
 
       - "export NEXT_PATCH_VERSION=\"$(cat text2img/Chart.yaml | grep ^version: | cut -d ' ' -f 2 | awk -F. '{print $1 \".\" $2 \".\" $3+1}')\""
-      - "export GIT_SHORT_COMMIT=\"$(git rev-parse --short HEAD)\""
       - "sed -i \"s/^  digest: .*/  digest: $IMAGE_HASH/\" text2img/values.yaml"
-      - helm package text2img --version "${NEXT_PATCH_VERSION}-rc-${GIT_SHORT_COMMIT}"
+      - helm package text2img --version "${NEXT_PATCH_VERSION}-rc-${CI_PIPELINE_IID}"
   artifacts:
       paths:
       - text2img-*.tgz
diff --git a/text2img/Chart.yaml b/text2img/Chart.yaml
index af32440..ceb10fb 100644
--- a/text2img/Chart.yaml
+++ b/text2img/Chart.yaml
@@ -15,7 +15,7 @@ type: application
 # This is the chart version. This version number should be incremented each time you make changes
 # to the chart and its templates, including the app version.
 # Versions are expected to follow Semantic Versioning (https://semver.org/)
-version: 1.0.0
+version: 1.0.1
 
 # This is the version number of the application being deployed. This version number should be
 # incremented each time you make changes to the application. Versions are not expected to
-- 
GitLab