vPack release should use buildInfoJson new to 7.2 (#16402)
This commit is contained in:
parent
02e11c383f
commit
bcae5e576d
@ -17,36 +17,44 @@ variables:
|
||||
value: 1
|
||||
- group: Azure Blob variable group
|
||||
|
||||
jobs:
|
||||
- job: rename
|
||||
displayName: Name the build
|
||||
condition: succeeded()
|
||||
pool:
|
||||
vmImage: 'windows-latest'
|
||||
steps:
|
||||
- checkout: self
|
||||
clean: true
|
||||
stages:
|
||||
- stage: prep
|
||||
displayName: Create buildInfo and name the Pipeline
|
||||
jobs:
|
||||
- job: rename
|
||||
displayName: Name the build
|
||||
condition: succeeded()
|
||||
pool:
|
||||
vmImage: 'windows-latest'
|
||||
steps:
|
||||
- checkout: self
|
||||
clean: true
|
||||
|
||||
- template: ./templates/SetVersionVariables.yml
|
||||
- template: ./templates/SetVersionVariables.yml
|
||||
parameters:
|
||||
ReleaseTagVar: $(ReleaseTagVar)
|
||||
CreateJson: yes
|
||||
UseJson: no
|
||||
|
||||
- powershell: Write-Host "##vso[build.updatebuildnumber]$env:BUILD_SOURCEBRANCHNAME-$env:BUILD_SOURCEVERSION-$((get-date).ToString("yyyyMMddhhss"))"
|
||||
displayName: Set Build Name for Non-PR
|
||||
condition: ne(variables['Build.Reason'], 'PullRequest')
|
||||
|
||||
- stage: release
|
||||
displayName: Release
|
||||
jobs:
|
||||
- template: ./templates/vpackReleaseJob.yml
|
||||
parameters:
|
||||
ReleaseTagVar: $(ReleaseTagVar)
|
||||
architecture: x64
|
||||
|
||||
- powershell: Write-Host "##vso[build.updatebuildnumber]$env:BUILD_SOURCEBRANCHNAME-$env:BUILD_SOURCEVERSION-$((get-date).ToString("yyyyMMddhhss"))"
|
||||
displayName: Set Build Name for Non-PR
|
||||
condition: ne(variables['Build.Reason'], 'PullRequest')
|
||||
- template: ./templates/vpackReleaseJob.yml
|
||||
parameters:
|
||||
architecture: x86
|
||||
|
||||
- template: ./templates/vpackReleaseJob.yml
|
||||
parameters:
|
||||
architecture: x64
|
||||
- template: ./templates/vpackReleaseJob.yml
|
||||
parameters:
|
||||
architecture: arm32
|
||||
|
||||
- template: ./templates/vpackReleaseJob.yml
|
||||
parameters:
|
||||
architecture: x86
|
||||
|
||||
- template: ./templates/vpackReleaseJob.yml
|
||||
parameters:
|
||||
architecture: arm32
|
||||
|
||||
- template: ./templates/vpackReleaseJob.yml
|
||||
parameters:
|
||||
architecture: arm64
|
||||
- template: ./templates/vpackReleaseJob.yml
|
||||
parameters:
|
||||
architecture: arm64
|
||||
|
Loading…
Reference in New Issue
Block a user