-Changed build to create symbols NuGet package

This commit is contained in:
James Newton-King
2012-05-08 20:08:21 +12:00
parent 05ba339c0f
commit fdabc13d8c
3 changed files with 4 additions and 4 deletions
+2 -2
View File
@@ -1,5 +1,5 @@
properties { properties {
$zipFileName = "Json45r4.zip" $zipFileName = "Json45r5.zip"
$majorVersion = "4.5" $majorVersion = "4.5"
$majorWithReleaseVersion = "4.5.5" $majorWithReleaseVersion = "4.5.5"
$version = GetVersion $majorWithReleaseVersion $version = GetVersion $majorWithReleaseVersion
@@ -99,7 +99,7 @@ task Package -depends Build {
} }
} }
exec { .\Tools\NuGet\NuGet.exe pack $workingDir\NuGet\Newtonsoft.Json.nuspec } exec { .\Tools\NuGet\NuGet.exe pack $workingDir\NuGet\Newtonsoft.Json.nuspec -Symbols }
move -Path .\*.nupkg -Destination $workingDir\NuGet move -Path .\*.nupkg -Destination $workingDir\NuGet
} }
@@ -72,5 +72,5 @@ using System.Security;
// by using the '*' as shown below: // by using the '*' as shown below:
[assembly: AssemblyVersion("4.5.0.0")] [assembly: AssemblyVersion("4.5.0.0")]
#if !PocketPC #if !PocketPC
[assembly: AssemblyFileVersion("4.5.4.14907")] [assembly: AssemblyFileVersion("4.5.5.14908")]
#endif #endif
@@ -90,7 +90,7 @@ using System.Security;
// by using the '*' as shown below: // by using the '*' as shown below:
[assembly: AssemblyVersion("4.5.0.0")] [assembly: AssemblyVersion("4.5.0.0")]
#if !PocketPC #if !PocketPC
[assembly: AssemblyFileVersion("4.5.4.14907")] [assembly: AssemblyFileVersion("4.5.5.14908")]
#endif #endif
[assembly: CLSCompliant(true)] [assembly: CLSCompliant(true)]