ci: Determine build date via bash

This commit is contained in:
Zach Hilman 2019-09-22 18:39:03 -04:00
parent 851c5d67ae
commit 15805f4e01
1 changed files with 2 additions and 1 deletions

View File

@ -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: