Skip to content

Commit

Permalink
Update push.ps1 to account for the removal of Antlr4.VS2008
Browse files Browse the repository at this point in the history
  • Loading branch information
sharwell committed May 13, 2018
1 parent 617c440 commit 93b135a
Showing 1 changed file with 3 additions and 4 deletions.
7 changes: 3 additions & 4 deletions build/push.ps1
Original file line number Diff line number Diff line change
Expand Up @@ -12,18 +12,17 @@ If ($AntlrVersion.EndsWith('-dev')) {
$packages = @(
'Antlr4.Runtime'
'Antlr4.CodeGenerator'
'Antlr4'
'Antlr4.VS2008')
'Antlr4')

# Make sure all packages exist before pushing any packages
ForEach ($package in $packages) {
If (-not (Test-Path ".\nuget\$package.$AntlrVersion.nupkg")) {
$host.ui.WriteErrorLine("Couldn't locate NuGet package: $JarPath")
$host.ui.WriteErrorLine("Couldn't locate NuGet package: $package.$AntlrVersion.nupkg")
exit 1
}

If (-not (Test-Path ".\nuget\$package.$AntlrVersion.symbols.nupkg")) {
$host.ui.WriteErrorLine("Couldn't locate NuGet symbols package: $JarPath")
$host.ui.WriteErrorLine("Couldn't locate NuGet symbols package: $package.$AntlrVersion.symbols.nupkg")
exit 1
}
}
Expand Down

0 comments on commit 93b135a

Please sign in to comment.