Merge pull request #1026 from PowerShell/vors/nuget

Adding Nuget artifacts to AppVeyor project nuget feed
This commit is contained in:
Sergei Vorobev committed 2016-05-23 17:58:32 -07:00
commit 7033dc31f1
3 files changed
+43 -7

No files matched your search

+28
View File
@@ -529,6 +529,34 @@ Built upon .NET Core, it is also a C# REPL.
}
}
function Publish-NuGetFeed
{
param(
[string]$OutputPath = "$PSScriptRoot/nuget-artifacts",
[Parameter(Mandatory=$true)]
[string]$VersionSuffix
)
@(
'Microsoft.Management.Infrastructure',
'Microsoft.PowerShell.Commands.Management',
'Microsoft.PowerShell.Commands.Utility',
'Microsoft.PowerShell.ConsoleHost',
'Microsoft.PowerShell.PSReadLine',
'Microsoft.PowerShell.Security',
'System.Management.Automation'
) | % {
if ($VersionSuffix)
{
dotnet pack "src/$_" --output $OutputPath --version-suffix $VersionSuffix
}
else
{
dotnet pack "src/$_" --output $OutputPath
}
}
}
function Start-DevPSGitHub {
param(