CI/CD: Add proactive git-pull rebase synchronization to start of build.ps1

This commit is contained in:
ospab 2026-05-14 23:15:40 +03:00
parent 2d9e5bbd9f
commit c8c760c7d0
1 changed files with 4 additions and 0 deletions

View File

@ -7,6 +7,10 @@ param(
$ProjectRoot = Split-Path -Parent $PSScriptRoot
Push-Location $ProjectRoot
Write-Output "Synchronizing latest workspace source code from origin master..."
# Leverage autostash and rebase to pull cleanly even with uncommitted local edits
& git pull origin master --rebase --autostash | Out-Null
Write-Output "Starting Universal OSTP Build & Release Pipeline in $ProjectRoot"
# Unblock binaries by terminating any existing active instances