Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

vPack release should use buildInfoJson new to 7.2 #16402

Merged
merged 1 commit into from Nov 8, 2021
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
66 changes: 37 additions & 29 deletions tools/releaseBuild/azureDevOps/vpackRelease.yml
Expand Up @@ -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

- template: ./templates/SetVersionVariables.yml
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
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: x64

- template: ./templates/vpackReleaseJob.yml
parameters:
architecture: x86
- template: ./templates/vpackReleaseJob.yml
parameters:
architecture: x86

- template: ./templates/vpackReleaseJob.yml
parameters:
architecture: arm32
- template: ./templates/vpackReleaseJob.yml
parameters:
architecture: arm32

- template: ./templates/vpackReleaseJob.yml
parameters:
architecture: arm64
- template: ./templates/vpackReleaseJob.yml
parameters:
architecture: arm64