diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index d404033c937360b7e0719fcd8fec184af2b3445f..5a57463da1ecab35be6274f582e863ad559aa37c 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 af32440a4fe417b81067b2a85bb61b7833a314d9..ceb10fb9d75690c17f5c551957b66c75e79710c8 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