diff options
| author | 2019-09-22 17:23:47 -0400 | |
|---|---|---|
| committer | 2019-09-22 17:23:47 -0400 | |
| commit | 851c5d67ae21d2a985f19a6bdb46282fed4f95c5 (patch) | |
| tree | 4f0d6ff58af7e2278b5f4c1043cf7f97bf369ab0 | |
| parent | cmake: Add SCM detection for Azure (diff) | |
| download | yuzu-851c5d67ae21d2a985f19a6bdb46282fed4f95c5.tar.gz yuzu-851c5d67ae21d2a985f19a6bdb46282fed4f95c5.tar.xz yuzu-851c5d67ae21d2a985f19a6bdb46282fed4f95c5.zip | |
ci: Update to use date as build number
| -rw-r--r-- | .ci/templates/build-single.yml | 1 | ||||
| -rw-r--r-- | .ci/templates/release-github.yml | 2 |
2 files changed, 2 insertions, 1 deletions
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: | |||
| 3 | cache: 'false' | 3 | cache: 'false' |
| 4 | 4 | ||
| 5 | steps: | 5 | steps: |
| 6 | - script: export CI=true && AZURE_REPO_NAME=yuzu-emu/yuzu-$(BuildName) && AZURE_REPO_TAG=$(BuildName)-$(Date:yyyy.MM.dd) | ||
| 6 | - task: DockerInstaller@0 | 7 | - task: DockerInstaller@0 |
| 7 | displayName: 'Prepare Environment' | 8 | displayName: 'Prepare Environment' |
| 8 | inputs: | 9 | 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: | |||
| 3 | - task: GitHubRelease@0 | 3 | - task: GitHubRelease@0 |
| 4 | inputs: | 4 | inputs: |
| 5 | action: 'create' | 5 | action: 'create' |
| 6 | title: 'yuzu $(BuildName) #$(Build.BuildId)' | 6 | title: 'yuzu $(BuildName) $(Date:yyyy.MM.dd)' |
| 7 | assets: '$(Build.ArtifactStagingDirectory)/*' | 7 | assets: '$(Build.ArtifactStagingDirectory)/*' |
| 8 | gitHubConnection: $(GitHubReleaseConnectionName) | 8 | gitHubConnection: $(GitHubReleaseConnectionName) |
| 9 | repositoryName: '$(Build.Repository.Name)' | 9 | repositoryName: '$(Build.Repository.Name)' |