From 851c5d67ae21d2a985f19a6bdb46282fed4f95c5 Mon Sep 17 00:00:00 2001
From: Zach Hilman <zachhilman@gmail.com>
Date: Sun, 22 Sep 2019 17:23:47 -0400
Subject: [PATCH] ci: Update to use date as build number

---
 .ci/templates/build-single.yml   | 1 +
 .ci/templates/release-github.yml | 2 +-
 2 files changed, 2 insertions(+), 1 deletion(-)

diff --git a/.ci/templates/build-single.yml b/.ci/templates/build-single.yml
index cd9d1df88..44b709177 100644
--- a/.ci/templates/build-single.yml
+++ b/.ci/templates/build-single.yml
@@ -3,6 +3,7 @@ parameters:
   cache: 'false'
 
 steps:
+- script: export CI=true && AZURE_REPO_NAME=yuzu-emu/yuzu-$(BuildName) && AZURE_REPO_TAG=$(BuildName)-$(Date:yyyy.MM.dd)
 - task: DockerInstaller@0
   displayName: 'Prepare Environment'
   inputs:
diff --git a/.ci/templates/release-github.yml b/.ci/templates/release-github.yml
index 39fd47f1c..92913f30b 100644
--- a/.ci/templates/release-github.yml
+++ b/.ci/templates/release-github.yml
@@ -3,7 +3,7 @@ steps:
   - task: GitHubRelease@0
     inputs:
       action: 'create'
-      title: 'yuzu $(BuildName) #$(Build.BuildId)'
+      title: 'yuzu $(BuildName) $(Date:yyyy.MM.dd)'
       assets: '$(Build.ArtifactStagingDirectory)/*'
       gitHubConnection: $(GitHubReleaseConnectionName)
       repositoryName: '$(Build.Repository.Name)'