Skip to content

Commit

Permalink
using Get-ChildItem to get the exact nuget filename
Browse files Browse the repository at this point in the history
  • Loading branch information
Aragas committed Jul 3, 2018
1 parent 59a5c50 commit bc36719
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 4 deletions.
3 changes: 2 additions & 1 deletion after_test_nuget-devel.ps1
Original file line number Diff line number Diff line change
Expand Up @@ -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";
}
3 changes: 2 additions & 1 deletion after_test_nuget.ps1
Original file line number Diff line number Diff line change
Expand Up @@ -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";
}
4 changes: 2 additions & 2 deletions appveyor.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down Expand Up @@ -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

Expand Down

0 comments on commit bc36719

Please sign in to comment.