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')