throw on failed merge

This commit is contained in:
Daniel Donenfeld 2019-02-15 19:00:15 -08:00
parent 7e72576ace
commit 18dedb4838

View File

@ -19,7 +19,9 @@ function collectAsm {
} }
cmd.exe /c "git merge $($branchName) 2>&1" cmd.exe /c "git merge $($branchName) 2>&1"
if(-not $?){
throw "Failed merge of $($branchName)"
}
} }
#Merge all branches into master #Merge all branches into master