diff options
author | Zach Hilman <zachhilman@gmail.com> | 2019-09-22 18:39:03 -0400 |
---|---|---|
committer | Zach Hilman <zachhilman@gmail.com> | 2019-09-22 18:39:29 -0400 |
commit | 15805f4e0184ede370bdc63d533fc5e0be6a6a50 (patch) | |
tree | 1bfa6662aa06e9e28e14412ddedb2590fe4279c0 | |
parent | 851c5d67ae21d2a985f19a6bdb46282fed4f95c5 (diff) |
ci: Determine build date via bash
-rw-r--r-- | .ci/templates/build-single.yml | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/.ci/templates/build-single.yml b/.ci/templates/build-single.yml index 44b709177..9bc27247e 100644 --- a/.ci/templates/build-single.yml +++ b/.ci/templates/build-single.yml @@ -3,7 +3,8 @@ parameters: cache: 'false' steps: -- script: export CI=true && AZURE_REPO_NAME=yuzu-emu/yuzu-$(BuildName) && AZURE_REPO_TAG=$(BuildName)-$(Date:yyyy.MM.dd) +- script: export DATE=`date '+%Y.%m.%d'` && export CI=true && AZURE_REPO_NAME=yuzu-emu/yuzu-$(BuildName) && AZURE_REPO_TAG=$(BuildName)-$DATE + displayName: 'Determine Build Name' - task: DockerInstaller@0 displayName: 'Prepare Environment' inputs: |