mirror of
https://github.com/PowerShell/PowerShell
synced 2026-06-08 12:12:50 +00:00
Fix issues in release build and release pipeline (#19338)
This commit is contained in:
committed by
Dongbo Wang
parent
1c7ec2f582
commit
ab0e9d58fa
@@ -320,6 +320,14 @@ stages:
|
||||
jobs:
|
||||
- template: templates/windows-package-signing.yml
|
||||
|
||||
- template: templates/mac-package-signing.yml
|
||||
parameters:
|
||||
buildArchitecture: x64
|
||||
|
||||
- template: templates/mac-package-signing.yml
|
||||
parameters:
|
||||
buildArchitecture: arm64
|
||||
|
||||
# This is done late so that we dont use resources before the big signing and packaging tasks.
|
||||
- stage: compliance
|
||||
dependsOn: ['package_signing']
|
||||
|
||||
@@ -175,6 +175,7 @@ stages:
|
||||
jobs:
|
||||
- job: KickOffRA
|
||||
displayName: Kickoff Release Automation
|
||||
timeoutInMinutes: 240
|
||||
|
||||
pool:
|
||||
name: PowerShell1ES
|
||||
@@ -257,7 +258,6 @@ stages:
|
||||
- StaticPkgValidation
|
||||
- StartDocker
|
||||
- ManualValidation
|
||||
- ReleaseAutomation
|
||||
- ValidateFxdPackage
|
||||
- ValidateGlobalTool
|
||||
|
||||
@@ -557,7 +557,7 @@ stages:
|
||||
$isPreview = $semanticVersion.PreReleaseLabel -ne $null
|
||||
|
||||
if (-not $isPreview) {
|
||||
$buildInvocationInfo = Start-AzDOBuild -BuildDefinitionId 1238 -Tag $metadata.ReleaseVersion, 'InProgress' -PassThru
|
||||
$buildInvocationInfo = Start-AzDOBuild -BuildDefinitionId 1238 -Branch '$(Build.SourceBranch)' -Tag $metadata.ReleaseVersion, 'InProgress' -PassThru
|
||||
Write-Verbose -Verbose "Kicked off vPack build: $($buildInvocationInfo.WebUrl)"
|
||||
$status = $buildInvocationInfo | Wait-AzDOBuildStatus -Status Completed -timeoutMinutes 60
|
||||
if ($status.result -ne 'Succeeded') {
|
||||
|
||||
Reference in New Issue
Block a user