Skip to content
Browse files

Fixed package script to exclude nuget directory and nuget.ext. Bumped…

… package version to 4.2.0.1
  • Loading branch information...
1 parent fed1fa6 commit 53bb4f7874f2b1062d7754ea4259c5336ce4005a @damianh damianh committed with Jun 13, 2012
Showing with 2 additions and 3 deletions.
  1. +1 −2 NuGetPackageBuilder.ps1
  2. +1 −1 nuget/psake.nuspec
View
3 NuGetPackageBuilder.ps1
@@ -7,8 +7,7 @@ if(Test-Path $destDir -PathType container){
Remove-Item $destDir -Recurse -Force
}
-robocopy $dir "$destDir\tools" /E /B /NP /R:0 /W:0 /NJH /NJS /NS /NFL /NDL /XF ".git*" "Nuget*" "*.nupkg" /XD "%DIR%nuget" "$dir.git" "$destDir"
-robocopy $dir "$destDir\tools" /E /B /NP /R:0 /W:0 /NJH /NJS /NS /NFL /NDL /XF ".git*" "Nuget*" "*.nupkg" /XD "%DIR%nuget" "$dir.git" "$destDir"
+robocopy $dir "$destDir\tools" /E /B /NP /R:0 /W:0 /NJH /NJS /NS /NFL /NDL /XF ".git*" "Nuget*" "*.nupkg" /XD "$dir\nuget" "$dir\.git" "$destDir" "$dir\nuget.exe"
robocopy "$dir\nuget" $destDir /E /B /NP /R:0 /W:0 /NJH /NJS /NS /NFL /NDL
.\nuget pack "$destDir\psake.nuspec"
View
2 nuget/psake.nuspec
@@ -2,7 +2,7 @@
<package xmlns="http://schemas.microsoft.com/packaging/2010/07/nuspec.xsd">
<metadata>
<id>psake</id>
- <version>4.2.0</version>
+ <version>4.2.0.1</version>
<authors>James Kovacs</authors>
<owners>James Kovacs, Damian Hickey, Rob Reynolds</owners>
<projectUrl>https://github.com/psake/psake</projectUrl>

0 comments on commit 53bb4f7

Please sign in to comment.
Something went wrong with that request. Please try again.