Skip to content
Snippets Groups Projects
Commit 2a609ba0 authored by Krish Moodbidri's avatar Krish Moodbidri
Browse files

reuse BUILD_DATE if BUILD_TAG is set

parent a8a0c3d0
No related branches found
No related tags found
No related merge requests found
......@@ -37,9 +37,8 @@ workflow:
- if: $CI_PIPELINE_SOURCE == "schedule"
.get_build_date: &get_build_date
- export BUILD_DATE=$(TZ=America/Chicago date +%Y-%m-%dT%H%M%S)
- export FINAL_BUILD_TAG=${BUILD_TAG:-$BUILD_DATE}
- echo FINAL_BUILD_TAG=${FINAL_BUILD_TAG}
- export BUILD_DATE=${BUILD_TAG:-$(TZ=America/Chicago date +%Y-%m-%dT%H%M%S)}
- echo BUILD_DATE=${BUILD_DATE}
.update_ansible_repo: &update_ansible_repo
- *get_build_date
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment