Skip to content

Commit bc36719

Browse files
committed
using Get-ChildItem to get the exact nuget filename
1 parent 59a5c50 commit bc36719

File tree

3 files changed

+6
-4
lines changed

3 files changed

+6
-4
lines changed

after_test_nuget-devel.ps1

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,5 +3,6 @@ if($env:CONFIGURATION -eq "Release") # is not a pull request
33
cd $env:APPVEYOR_BUILD_FOLDER
44
cd common
55
nuget pack PCLExt.FileStorage-devel.nuspec -Version $env:APPVEYOR_BUILD_VERSION
6-
Push-AppveyorArtifact "PCLExt.FileStorage.*.nupkg" -FileName nuget
6+
$nupkg = (Get-ChildItem PCLExt.FileStorage-devel*.nupkg)[0];
7+
Push-AppveyorArtifact $nupkg.FullName -FileName $nupkg.Name -DeploymentName "PCLExt.FileStorage-devel.nupkg";
78
}

after_test_nuget.ps1

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,5 +3,6 @@ if($env:CONFIGURATION -eq "Release") # is not a pull request
33
cd $env:APPVEYOR_BUILD_FOLDER
44
cd common
55
nuget pack PCLExt.FileStorage.nuspec -Version $env:APPVEYOR_BUILD_VERSION
6-
Push-AppveyorArtifact "PCLExt.FileStorage.*.nupkg" -FileName nuget
6+
$nupkg = (Get-ChildItem PCLExt.FileStorage*.nupkg)[0];
7+
Push-AppveyorArtifact $nupkg.FullName -FileName $nupkg.Name -DeploymentName "PCLExt.FileStorage.nupkg";
78
}

appveyor.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -80,7 +80,7 @@
8080
api_key:
8181
secure: yoZtG3i28wVuNDk1HrGW/t3tsgt3Ru/Yk/y/sOzUHRc2WVZlynVdWSHK/Bp0uShJ
8282
skip_symbols: false
83-
artifact: nuget
83+
artifact: PCLExt.FileStorage.nupkg
8484
on:
8585
configuration: Release
8686
APPVEYOR_REPO_TAG: true
@@ -149,7 +149,7 @@
149149
api_key:
150150
secure: yoZtG3i28wVuNDk1HrGW/t3tsgt3Ru/Yk/y/sOzUHRc2WVZlynVdWSHK/Bp0uShJ
151151
skip_symbols: false
152-
artifact: nuget
152+
artifact: PCLExt.FileStorage-devel.nupkg
153153
on:
154154
configuration: Release
155155

0 commit comments

Comments
 (0)