From 90cb6d1625b56454da7cd065022a1635006c21a6 Mon Sep 17 00:00:00 2001 From: Jonas Leder <jonas@jonasled.de> Date: Sun, 18 Jun 2023 12:11:24 +0200 Subject: [PATCH] update versioning --- .gitlab-ci.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index 5a57463..6dc1fe8 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -46,9 +46,9 @@ Helm: - helm dependency update text2img - 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 NEXT_PATCH_VERSION=\"$(cat text2img/Chart.yaml | grep ^version: | cut -d ' ' -f 2 | awk -F. '{print $1 \".\" $2 \".\"}')\"" - "sed -i \"s/^ digest: .*/ digest: $IMAGE_HASH/\" text2img/values.yaml" - - helm package text2img --version "${NEXT_PATCH_VERSION}-rc-${CI_PIPELINE_IID}" + - helm package text2img --version "${NEXT_PATCH_VERSION}${CI_PIPELINE_IID}" artifacts: paths: - text2img-*.tgz -- GitLab