changed task order

This commit is contained in:
Brett Hewitson 2022-12-23 20:00:20 +10:00
parent b70bb69426
commit 2ea29c935f

View file

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