Permalink
Browse files

Build script task 'package', upon success, outputs the suggested comm…

…and to publish the *.nupkg files.
  • Loading branch information...
1 parent 447ba5e commit eb1f9b2b752a66c7a76dc0e89e77f40fd976dee2 @plioi committed Mar 16, 2013
Showing with 4 additions and 0 deletions.
  1. +4 −0 default.ps1
View
@@ -18,6 +18,10 @@ task Package -depends Test {
rd .\package -recurse -force -ErrorAction SilentlyContinue | out-null
mkdir .\package -ErrorAction SilentlyContinue | out-null
exec { & $src\.nuget\NuGet.exe pack $src\$project\$project.csproj -Symbols -Prop Configuration=$configuration -OutputDirectory .\package }
+
+ write-host
+ write-host "To publish these packages, issue the following command:"
+ write-host " nuget push .\package\$project.$version.nupkg"
}
task Test -depends Compile {

0 comments on commit eb1f9b2

Please sign in to comment.