Skip to content

Commit 80c9af7

Browse files
committed
(GH-53) Corrected use of cli in deployment
- Since the term cli is not used in the build artifacts anymore, switched to using portable, which is the distinction between the nuget and the chocolatey package - Also updated the paths to the various solution level exe's, which have changed as a result of updating the nuget packages
1 parent 4d7a1c4 commit 80c9af7

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

BuildScripts/default.ps1

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -10,9 +10,9 @@ properties {
1010
$projectName = "GitReleaseManager";
1111
$openCoverExe = "..\Source\packages\OpenCover.4.5.3723\OpenCover.Console.exe";
1212
$nunitConsoleExe = "..\Source\packages\NUnit.Runners.2.6.4\tools\nunit-console.exe";
13-
$reportGeneratorExe = "..\Source\packages\ReportGenerator.2.1.3.0\ReportGenerator.exe";
14-
$coverallsExe = "..\Source\packages\coveralls.io.1.2.2\tools\coveralls.net.exe";
15-
$publishCoverityExe = "..\Source\packages\PublishCoverity.0.9.0\PublishCoverity.exe";
13+
$reportGeneratorExe = "..\Source\packages\ReportGenerator.2.1.8.0\tools\ReportGenerator.exe";
14+
$coverallsExe = "..\Source\packages\coveralls.io.1.3.4\tools\coveralls.net.exe";
15+
$publishCoverityExe = "..\Source\packages\PublishCoverity.0.10.0\PublishCoverity.exe";
1616
}
1717

1818
$private = "This is a private task not meant for external use!";
@@ -570,7 +570,7 @@ Task -Name BuildSolution -Depends __RemoveBuildArtifactsDirectory, __VerifyConfi
570570
}
571571

572572
if(isAppVeyor) {
573-
$expectedExeFile = Join-Path -Path $buildArtifactsDirectory -ChildPath "GitReleaseManager.Cli.exe"
573+
$expectedExeFile = Join-Path -Path $buildArtifactsDirectory -ChildPath "GitReleaseManager.exe"
574574
if(Test-Path $expectedExeFile) {
575575
Push-AppveyorArtifact $expectedExeFile;
576576
}
@@ -724,7 +724,7 @@ Task -Name DeployPackageToChocolateyAndNuget -Description "Takes the packages an
724724
$nugetPath = ($_ | Resolve-Path).Path;
725725
$convertedPath = Convert-Path $nugetPath;
726726

727-
if($_ -like '*cli*') {
727+
if($_ -like '*portable*') {
728728
& $nugetExe push $convertedPath $env:ChocolateyApiKey -source $env:ChocolateyFeedUrl
729729
} else {
730730
& $nugetExe push $convertedPath $env:NugetApiKey -source $env:NugetFeedUrl

0 commit comments

Comments
 (0)