Просмотр исходного кода

ci: Update to use date as build number

Zach Hilman 6 лет назад
Родитель
Сommit
851c5d67ae
2 измененных файлов с 2 добавлено и 1 удалено
  1. 1 0
      .ci/templates/build-single.yml
  2. 1 1
      .ci/templates/release-github.yml

+ 1 - 0
.ci/templates/build-single.yml

@@ -3,6 +3,7 @@ parameters:
   cache: 'false'
   cache: 'false'
 
 
 steps:
 steps:
+- script: export CI=true && AZURE_REPO_NAME=yuzu-emu/yuzu-$(BuildName) && AZURE_REPO_TAG=$(BuildName)-$(Date:yyyy.MM.dd)
 - task: DockerInstaller@0
 - task: DockerInstaller@0
   displayName: 'Prepare Environment'
   displayName: 'Prepare Environment'
   inputs:
   inputs:

+ 1 - 1
.ci/templates/release-github.yml

@@ -3,7 +3,7 @@ steps:
   - task: GitHubRelease@0
   - task: GitHubRelease@0
     inputs:
     inputs:
       action: 'create'
       action: 'create'
-      title: 'yuzu $(BuildName) #$(Build.BuildId)'
+      title: 'yuzu $(BuildName) $(Date:yyyy.MM.dd)'
       assets: '$(Build.ArtifactStagingDirectory)/*'
       assets: '$(Build.ArtifactStagingDirectory)/*'
       gitHubConnection: $(GitHubReleaseConnectionName)
       gitHubConnection: $(GitHubReleaseConnectionName)
       repositoryName: '$(Build.Repository.Name)'
       repositoryName: '$(Build.Repository.Name)'