From 872e52765d611f33dcf71a27e91d5dc5047307b8 Mon Sep 17 00:00:00 2001 From: aron Date: Fri, 30 Aug 2024 08:39:15 +0200 Subject: [PATCH] Initialize ISO_WEEK --- .gitlab-ci.yml | 1 + 1 file changed, 1 insertion(+) diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index 4cbb203f1..747273990 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -175,6 +175,7 @@ build-release: - apk add python3 py3-pip - VERSION_NUMBER_LEADING_ZEROS=$(echo "$CI_COMMIT_TAG" | sed -nr 's/^(prod|test|ltest)-([0-9]+\.[0-9]+([\.ab][0-9]+)?)$/\2/p') - VERSION_NUMBER=$(python3 -c "from packaging.version import Version;print(Version('${VERSION_NUMBER_LEADING_ZEROS}'))") + - ISO_WEEK=$(date +%V) # Ensure the version number is in the changelog for prod deployments - | API_STATICS_IMAGE=$CI_REGISTRY_IMAGE/api-statics:$CI_COMMIT_TAG