mirror of
https://github.com/PowerShell/PowerShell
synced 2026-06-08 12:12:50 +00:00
Sync tags in release build so that shallow cloning can be enabled. (#5248)
This commit is contained in:
committed by
Aditya Patwardhan
parent
11e50c1d5d
commit
8702dea03b
@@ -27,6 +27,9 @@ try {
|
||||
Set-Location $location
|
||||
Import-Module "$location/build.psm1"
|
||||
Import-Module "$location/tools/packaging"
|
||||
|
||||
Write-Verbose "Sync'ing Tags..." -verbose
|
||||
Sync-PSTags
|
||||
|
||||
Start-PSBootstrap -Package -NoSudo
|
||||
Start-PSBuild -Crossgen -PSModuleRestore @releaseTagParam
|
||||
|
||||
@@ -52,6 +52,10 @@ try{
|
||||
Import-Module "$location\build.psm1" -Force
|
||||
Import-Module "$location\tools\packaging" -Force
|
||||
$env:platform = $null
|
||||
|
||||
Write-Verbose "Sync'ing Tags..." -verbose
|
||||
Sync-PSTags
|
||||
|
||||
Write-Verbose "Bootstrapping powershell build..." -verbose
|
||||
Start-PSBootstrap -Force -Package
|
||||
|
||||
|
||||
Reference in New Issue
Block a user