mirror of
https://github.com/tribufu/ServerManagers
synced 2026-05-06 15:17:34 +00:00
pipeline file changes
This commit is contained in:
parent
650d5145ae
commit
a80ccacd37
2 changed files with 4 additions and 4 deletions
|
|
@ -169,14 +169,14 @@ stages:
|
|||
workingDirectory: '$(Build.SourcesDirectory)'
|
||||
|
||||
- ${{ if eq(parameters.DeploymentType, 'Beta') }}:
|
||||
- powershell: |
|
||||
- pwsh: |
|
||||
[int]$oldValue = $(NewVersionRevision)
|
||||
[int]$newValue = $oldValue + 1
|
||||
Write-Host "##vso[task.setvariable variable=NewVersionRevision;]$newValue"
|
||||
displayName: Set New Pipeline Version Variable Values
|
||||
|
||||
- ${{ if eq(parameters.DeploymentType, 'Production') }}:
|
||||
- powershell: |
|
||||
- pwsh: |
|
||||
[int]$oldValue = $(NewVersionBuild)
|
||||
[int]$newValue = $oldValue + 1
|
||||
Write-Host "##vso[task.setvariable variable=NewVersionBuild;]$newValue"
|
||||
|
|
|
|||
|
|
@ -171,14 +171,14 @@ stages:
|
|||
workingDirectory: '$(Build.SourcesDirectory)'
|
||||
|
||||
- ${{ if eq(parameters.DeploymentType, 'Beta') }}:
|
||||
- powershell: |
|
||||
- pwsh: |
|
||||
[int]$oldValue = $(NewVersionRevision)
|
||||
[int]$newValue = $oldValue + 1
|
||||
Write-Host "##vso[task.setvariable variable=NewVersionRevision;]$newValue"
|
||||
displayName: Set New Pipeline Version Variable Values
|
||||
|
||||
- ${{ if eq(parameters.DeploymentType, 'Production') }}:
|
||||
- powershell: |
|
||||
- pwsh: |
|
||||
[int]$oldValue = $(NewVersionBuild)
|
||||
[int]$newValue = $oldValue + 1
|
||||
Write-Host "##vso[task.setvariable variable=NewVersionBuild;]$newValue"
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue