From 2ea29c935f552b32434431487ef59e6fcfc1d4bf Mon Sep 17 00:00:00 2001 From: Brett Hewitson Date: Fri, 23 Dec 2022 20:00:20 +1000 Subject: [PATCH] changed task order --- .azure/pipelines/azure-pipelines-deploy.yml | 22 ++++++++++----------- 1 file changed, 11 insertions(+), 11 deletions(-) diff --git a/.azure/pipelines/azure-pipelines-deploy.yml b/.azure/pipelines/azure-pipelines-deploy.yml index f4b3b5fc..b6659669 100644 --- a/.azure/pipelines/azure-pipelines-deploy.yml +++ b/.azure/pipelines/azure-pipelines-deploy.yml @@ -134,17 +134,6 @@ stages: git push --set-upstream origin master --porcelain --force pwsh: true workingDirectory: '$(Build.SourcesDirectory)' - - - task: PowerShell@2 - displayName: 'Update VersionRevision Variable' - condition: eq('${{parameters.DeploymentType}}', 'Beta') - enabled: false - env: - SYSTEM_ACCESSTOKEN: $(System.AccessToken) - inputs: - targetType: filePath - filePath: './.azure/scripts/UpdateVersionVariable.ps1' - pwsh: true - task: PowerShell@2 displayName: 'Update VersionBuild Variable' @@ -158,6 +147,17 @@ stages: arguments: "-variableName 'VersionBuild'" pwsh: true + - task: PowerShell@2 + displayName: 'Update VersionRevision Variable' + condition: eq('${{parameters.DeploymentType}}', 'Beta') + enabled: false + env: + SYSTEM_ACCESSTOKEN: $(System.AccessToken) + inputs: + targetType: filePath + filePath: './.azure/scripts/UpdateVersionVariable.ps1' + pwsh: true + - task: PowerShell@2 displayName: 'Reset VersionRevision Variable' condition: eq('${{parameters.DeploymentType}}', 'Production')