提交 173d228f 编写于 作者: J Jared Parsons 提交者: GitHub

Merge pull request #15248 from jaredpar/fix-check

Account for bad commit missing
...@@ -27,13 +27,6 @@ function Get-PackagesPath { ...@@ -27,13 +27,6 @@ function Get-PackagesPath {
pushd $sourcePath pushd $sourcePath
try try
{ {
write-host "Checking for bad branch data"
[string]$output = & git branch --contains 29a0db828359046e61542c4b62fa72743a905a40
if ($output.Length -ne 0) {
write-host "Error!!! Branch still contains something we got rid of in a force push."
exit 1
}
# Need to parse out the current NuGet package version of Structured Logger # Need to parse out the current NuGet package version of Structured Logger
[xml]$deps = get-content (join-path $sourcePath "build\Targets\Dependencies.props") [xml]$deps = get-content (join-path $sourcePath "build\Targets\Dependencies.props")
$structuredLoggerVersion = $deps.Project.PropertyGroup.MicrosoftBuildLoggingStructuredLoggerVersion $structuredLoggerVersion = $deps.Project.PropertyGroup.MicrosoftBuildLoggingStructuredLoggerVersion
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册