mirror of https://github.com/ospab/ostp.git
CI/CD: Add proactive git-pull rebase synchronization to start of build.ps1
This commit is contained in:
parent
2d9e5bbd9f
commit
c8c760c7d0
|
|
@ -7,6 +7,10 @@ param(
|
||||||
$ProjectRoot = Split-Path -Parent $PSScriptRoot
|
$ProjectRoot = Split-Path -Parent $PSScriptRoot
|
||||||
Push-Location $ProjectRoot
|
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"
|
Write-Output "Starting Universal OSTP Build & Release Pipeline in $ProjectRoot"
|
||||||
|
|
||||||
# Unblock binaries by terminating any existing active instances
|
# Unblock binaries by terminating any existing active instances
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue