diff --git a/after_test_nuget-devel.ps1 b/after_test_nuget-devel.ps1 index 0126885..abb607f 100644 --- a/after_test_nuget-devel.ps1 +++ b/after_test_nuget-devel.ps1 @@ -3,5 +3,6 @@ if($env:CONFIGURATION -eq "Release") # is not a pull request cd $env:APPVEYOR_BUILD_FOLDER cd common nuget pack PCLExt.FileStorage-devel.nuspec -Version $env:APPVEYOR_BUILD_VERSION - Push-AppveyorArtifact "PCLExt.FileStorage.*.nupkg" -FileName nuget + $nupkg = (Get-ChildItem PCLExt.FileStorage-devel*.nupkg)[0]; + Push-AppveyorArtifact $nupkg.FullName -FileName $nupkg.Name -DeploymentName "PCLExt.FileStorage-devel.nupkg"; } \ No newline at end of file diff --git a/after_test_nuget.ps1 b/after_test_nuget.ps1 index 8b1ff0f..07cf932 100644 --- a/after_test_nuget.ps1 +++ b/after_test_nuget.ps1 @@ -3,5 +3,6 @@ if($env:CONFIGURATION -eq "Release") # is not a pull request cd $env:APPVEYOR_BUILD_FOLDER cd common nuget pack PCLExt.FileStorage.nuspec -Version $env:APPVEYOR_BUILD_VERSION - Push-AppveyorArtifact "PCLExt.FileStorage.*.nupkg" -FileName nuget + $nupkg = (Get-ChildItem PCLExt.FileStorage*.nupkg)[0]; + Push-AppveyorArtifact $nupkg.FullName -FileName $nupkg.Name -DeploymentName "PCLExt.FileStorage.nupkg"; } \ No newline at end of file diff --git a/appveyor.yml b/appveyor.yml index 3b334e4..0dff8cd 100644 --- a/appveyor.yml +++ b/appveyor.yml @@ -80,7 +80,7 @@ api_key: secure: yoZtG3i28wVuNDk1HrGW/t3tsgt3Ru/Yk/y/sOzUHRc2WVZlynVdWSHK/Bp0uShJ skip_symbols: false - artifact: nuget + artifact: PCLExt.FileStorage.nupkg on: configuration: Release APPVEYOR_REPO_TAG: true @@ -149,7 +149,7 @@ api_key: secure: yoZtG3i28wVuNDk1HrGW/t3tsgt3Ru/Yk/y/sOzUHRc2WVZlynVdWSHK/Bp0uShJ skip_symbols: false - artifact: nuget + artifact: PCLExt.FileStorage-devel.nupkg on: configuration: Release