mirror of
https://github.com/tribufu/ServerManagers
synced 2026-06-01 09:42:39 +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)'
|
workingDirectory: '$(Build.SourcesDirectory)'
|
||||||
|
|
||||||
- ${{ if eq(parameters.DeploymentType, 'Beta') }}:
|
- ${{ if eq(parameters.DeploymentType, 'Beta') }}:
|
||||||
- powershell: |
|
- pwsh: |
|
||||||
[int]$oldValue = $(NewVersionRevision)
|
[int]$oldValue = $(NewVersionRevision)
|
||||||
[int]$newValue = $oldValue + 1
|
[int]$newValue = $oldValue + 1
|
||||||
Write-Host "##vso[task.setvariable variable=NewVersionRevision;]$newValue"
|
Write-Host "##vso[task.setvariable variable=NewVersionRevision;]$newValue"
|
||||||
displayName: Set New Pipeline Version Variable Values
|
displayName: Set New Pipeline Version Variable Values
|
||||||
|
|
||||||
- ${{ if eq(parameters.DeploymentType, 'Production') }}:
|
- ${{ if eq(parameters.DeploymentType, 'Production') }}:
|
||||||
- powershell: |
|
- pwsh: |
|
||||||
[int]$oldValue = $(NewVersionBuild)
|
[int]$oldValue = $(NewVersionBuild)
|
||||||
[int]$newValue = $oldValue + 1
|
[int]$newValue = $oldValue + 1
|
||||||
Write-Host "##vso[task.setvariable variable=NewVersionBuild;]$newValue"
|
Write-Host "##vso[task.setvariable variable=NewVersionBuild;]$newValue"
|
||||||
|
|
|
||||||
|
|
@ -171,14 +171,14 @@ stages:
|
||||||
workingDirectory: '$(Build.SourcesDirectory)'
|
workingDirectory: '$(Build.SourcesDirectory)'
|
||||||
|
|
||||||
- ${{ if eq(parameters.DeploymentType, 'Beta') }}:
|
- ${{ if eq(parameters.DeploymentType, 'Beta') }}:
|
||||||
- powershell: |
|
- pwsh: |
|
||||||
[int]$oldValue = $(NewVersionRevision)
|
[int]$oldValue = $(NewVersionRevision)
|
||||||
[int]$newValue = $oldValue + 1
|
[int]$newValue = $oldValue + 1
|
||||||
Write-Host "##vso[task.setvariable variable=NewVersionRevision;]$newValue"
|
Write-Host "##vso[task.setvariable variable=NewVersionRevision;]$newValue"
|
||||||
displayName: Set New Pipeline Version Variable Values
|
displayName: Set New Pipeline Version Variable Values
|
||||||
|
|
||||||
- ${{ if eq(parameters.DeploymentType, 'Production') }}:
|
- ${{ if eq(parameters.DeploymentType, 'Production') }}:
|
||||||
- powershell: |
|
- pwsh: |
|
||||||
[int]$oldValue = $(NewVersionBuild)
|
[int]$oldValue = $(NewVersionBuild)
|
||||||
[int]$newValue = $oldValue + 1
|
[int]$newValue = $oldValue + 1
|
||||||
Write-Host "##vso[task.setvariable variable=NewVersionBuild;]$newValue"
|
Write-Host "##vso[task.setvariable variable=NewVersionBuild;]$newValue"
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue