-Updated version to 4.5.1
-Changed build script to include Metro build -Changed build script to set assembly version to major version only -Documentation
This commit is contained in:
@@ -2,7 +2,7 @@
|
||||
<package xmlns="http://schemas.microsoft.com/packaging/2010/07/nuspec.xsd">
|
||||
<metadata>
|
||||
<id>Newtonsoft.Json</id>
|
||||
<version>4.0.8</version>
|
||||
<version>4.5.1</version>
|
||||
<title>Json.NET</title>
|
||||
<description>Json.NET is a popular high-performance JSON framework for .NET</description>
|
||||
<authors>James Newton-King</authors>
|
||||
|
||||
+7
-5
@@ -1,7 +1,8 @@
|
||||
properties {
|
||||
$zipFileName = "Json40r8.zip"
|
||||
$majorVersion = "4.0.8"
|
||||
$version = GetVersion $majorVersion
|
||||
$zipFileName = "Json45r1.zip"
|
||||
$majorVersion = "4.5"
|
||||
$majorWithReleaseVersion = "4.5.1"
|
||||
$version = GetVersion $majorWithReleaseVersion
|
||||
$signAssemblies = $false
|
||||
$signKeyPath = "D:\Development\Releases\newtonsoft.snk"
|
||||
$buildDocumentation = $false
|
||||
@@ -16,6 +17,7 @@
|
||||
$workingDir = "$baseDir\Working"
|
||||
$builds = @(
|
||||
@{Name = "Newtonsoft.Json"; TestsName = "Newtonsoft.Json.Tests"; Constants=""; FinalDir="Net40"; NuGetDir = "net40"; Framework="net-4.0"; Sign=$true},
|
||||
@{Name = "Newtonsoft.Json.Metro"; TestsName = $null; Constants="NETFX_CORE"; FinalDir="Metro"; NuGetDir = "winrt45"; Framework="net-4.5"; Sign=$true},
|
||||
|
||||
# unsigned SL/WP
|
||||
@{Name = "Newtonsoft.Json.WindowsPhone"; TestsName = $null; Constants="SILVERLIGHT;WINDOWS_PHONE"; FinalDir="WindowsPhone"; NuGetDir = "sl3-wp,sl4-windowsphone71"; Framework="net-4.0"; Sign=$false},
|
||||
@@ -51,7 +53,7 @@ task Clean {
|
||||
task Build -depends Clean {
|
||||
Write-Host -ForegroundColor Green "Updating assembly version"
|
||||
Write-Host
|
||||
Update-AssemblyInfoFiles $sourceDir ($majorVersion + '.0') $version
|
||||
Update-AssemblyInfoFiles $sourceDir ($majorVersion + '.0.0') $version
|
||||
|
||||
foreach ($build in $builds)
|
||||
{
|
||||
@@ -117,7 +119,7 @@ task Package -depends Build {
|
||||
Copy-Item -Path $docDir\readme.txt -Destination $workingDir\Package\
|
||||
Copy-Item -Path $docDir\versions.txt -Destination $workingDir\Package\Bin\
|
||||
|
||||
robocopy $sourceDir $workingDir\Package\Source\Src /MIR /NP /XD .svn bin obj /XF *.suo *.user
|
||||
robocopy $sourceDir $workingDir\Package\Source\Src /MIR /NP /XD .svn bin obj TestResults /XF *.suo *.user
|
||||
robocopy $buildDir $workingDir\Package\Source\Build /MIR /NP /XD .svn
|
||||
robocopy $docDir $workingDir\Package\Source\Doc /MIR /NP /XD .svn
|
||||
robocopy $toolsDir $workingDir\Package\Source\Tools /MIR /NP /XD .svn
|
||||
|
||||
Reference in New Issue
Block a user