Skip to content

Commit

Permalink
Merge branch 'prebuild-docker-images' into 'main'
Browse files Browse the repository at this point in the history
Initialize ISO_WEEK

See merge request reportcreator/reportcreator!687
  • Loading branch information
aronmolnar committed Aug 30, 2024
2 parents f97d835 + 872e527 commit 5a41a52
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 5a41a52

Please sign in to comment.