Merge pull request #2901 from DarkLordZach/mainline-title-bar
ci: Properly parse Azure CI details in title bar
This commit is contained in:
commit
2f5545f8de
2 changed files with 5 additions and 0 deletions
|
@ -3,6 +3,8 @@ parameters:
|
||||||
cache: 'false'
|
cache: 'false'
|
||||||
|
|
||||||
steps:
|
steps:
|
||||||
|
- 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
|
- task: DockerInstaller@0
|
||||||
displayName: 'Prepare Environment'
|
displayName: 'Prepare Environment'
|
||||||
inputs:
|
inputs:
|
||||||
|
|
|
@ -10,6 +10,9 @@ if (DEFINED ENV{CI})
|
||||||
elseif(DEFINED ENV{APPVEYOR})
|
elseif(DEFINED ENV{APPVEYOR})
|
||||||
set(BUILD_REPOSITORY $ENV{APPVEYOR_REPO_NAME})
|
set(BUILD_REPOSITORY $ENV{APPVEYOR_REPO_NAME})
|
||||||
set(BUILD_TAG $ENV{APPVEYOR_REPO_TAG_NAME})
|
set(BUILD_TAG $ENV{APPVEYOR_REPO_TAG_NAME})
|
||||||
|
elseif(DEFINED ENV{AZURE})
|
||||||
|
set(BUILD_REPOSITORY $ENV{AZURE_REPO_NAME})
|
||||||
|
set(BUILD_TAG $ENV{AZURE_REPO_TAG})
|
||||||
endif()
|
endif()
|
||||||
endif()
|
endif()
|
||||||
add_custom_command(OUTPUT scm_rev.cpp
|
add_custom_command(OUTPUT scm_rev.cpp
|
||||||
|
|
Loading…
Reference in a new issue