mirror of
https://github.com/microsoft/GSL.git
synced 2024-11-03 17:56:43 -05:00
Add logging of branches. Throw on merge
This commit is contained in:
parent
4b52cd13e1
commit
5afeb81bf9
@ -120,7 +120,11 @@ function collectAsm {
|
||||
$branchString = $asmBranches -join ' '
|
||||
git checkout master
|
||||
git pull
|
||||
git branch -a
|
||||
git merge --squash $branchString
|
||||
if(-not $?){
|
||||
throw "Failed merge"
|
||||
}
|
||||
git diff-index --cached --quiet --exit-code HEAD
|
||||
if(-not $?) {
|
||||
git commit -m "[skip ci] Update ASM for $($env:APPVEYOR_REPO_COMMIT)"
|
||||
|
Loading…
Reference in New Issue
Block a user