File tree Expand file tree Collapse file tree 1 file changed +7
-8
lines changed Expand file tree Collapse file tree 1 file changed +7
-8
lines changed Original file line number Diff line number Diff line change @@ -547,9 +547,9 @@ Task -Name BuildSolution -Depends __RemoveBuildArtifactsDirectory, __VerifyConfi
547
547
}
548
548
549
549
if (isAppVeyor) {
550
- $expectedMsiFile = Join-Path - Path $buildArtifactsDirectory - ChildPath " GitHubReleaseManager.exe"
551
- if (Test-Path $expectedMsiFile ) {
552
- Push-AppveyorArtifact $expectedMsiFile ;
550
+ $expectedExeFile = Join-Path - Path $buildArtifactsDirectory - ChildPath " GitHubReleaseManager.Cli .exe"
551
+ if (Test-Path $expectedExeFile ) {
552
+ Push-AppveyorArtifact $expectedExeFile ;
553
553
}
554
554
}
555
555
}
@@ -597,11 +597,10 @@ Task -Name PackageChocolatey -Description "Packs the module and example package"
597
597
.$nugetExe pack " $sourceDirectory \..\Packaging\nuget\GitHubReleaseManager.Cli.nuspec" - OutputDirectory " $buildArtifactsDirectory " - NoPackageAnalysis - version $script :version
598
598
.$nugetExe pack " $sourceDirectory \..\Packaging\nuget\GitHubReleaseManager.nuspec" - OutputDirectory " $buildArtifactsDirectory " - NoPackageAnalysis - version $script :version
599
599
600
- if (isAppVeyor) {
601
- $expectedNupkgFile = Join-Path - Path $buildArtifactsDirectory - ChildPath " GitHubReleaseManager*.nupkg"
602
- if (Test-Path $expectedNupkgFile ) {
603
- Push-AppveyorArtifact ($expectedNupkgFile | Resolve-Path ).Path;
604
- }
600
+ if (isAppVeyor) {
601
+ Get-ChildItem $buildArtifactsDirectory - Filter * .nupkg | Foreach-Object {
602
+ Push-AppveyorArtifact ($_ | Resolve-Path ).Path;
603
+ }
605
604
}
606
605
}
607
606
You can’t perform that action at this time.
0 commit comments