Skip to content

Commit

Permalink
Initialize ISO_WEEK
Browse files Browse the repository at this point in the history
  • Loading branch information
aronmolnar committed Aug 30, 2024
1 parent b47026d commit 872e527
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions .gitlab-ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 872e527

Please sign in to comment.