Skip to content

Commit

Permalink
Merge pull request #460 from reactiveui/prep-6.0-alpha
Browse files Browse the repository at this point in the history
Prepare 6.0 Alpha
  • Loading branch information
Paul Betts committed Dec 24, 2013
2 parents 2cc1c40 + b297dd3 commit 752c04e
Show file tree
Hide file tree
Showing 61 changed files with 978 additions and 210 deletions.
5 changes: 2 additions & 3 deletions CONTRIBUTING.md
Original file line number Diff line number Diff line change
Expand Up @@ -23,11 +23,10 @@
*This looks hard, but once you get your environment set up, it's really only 'Build in VS, build in Mono, run script'*

1. Put the source into DropBox or another way you can share the same folder between a Mac and a PC (Parallels Shared Folders works too)
1. Edit `**/AssemblyInfo.cs` (i.e. every file named AssemblyInfo.cs) and bump the versions
1. Edit `NuGet/**/*.nuspec` (every nuspec file under the root NuGet folder) and do the same. Make sure to bump the dependent versions too!
1. Edit `/CommonAssemblyInfo.cs` and bump the version
1. Open ReactiveUI.sln and build it in Release mode under VS2012 on Windows 8 / Win8.1 with the WP8 SDK installed (nothing earlier is supported)
1. Open MonoDevelop, and build ReactiveUI_XSAll.sln in Release mode
1. Back on the PC, run `MakeRelease.ps1`
1. Back on the PC, run `MakeRelease.ps1` and specify a NuGet SemVer, like `MakeRelease.ps1 -version "5.5.0-beta1"`
1. You'll end up with two new folders, `Release` and `Nuget-Release`, as well as the `.nupkg` files in the root directory.

## Some quirks
Expand Down
4 changes: 4 additions & 0 deletions CommonAssemblyInfo.cs
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
using System.Reflection;

[assembly: AssemblyVersion("5.99.0")]
[assembly: AssemblyFileVersion("5.99.0")]
31 changes: 29 additions & 2 deletions MakeRelease.ps1
Original file line number Diff line number Diff line change
@@ -1,7 +1,9 @@
$Archs = {"Portable-Net45+WinRT45+WP8", "Net45", "WP8", "WinRT45", "Mono", "Monoandroid", "Monotouch", "Monomac"}
Param([string]$version = $null)

$Archs = {"Portable-Net45+WinRT45+WP8", "Net45", "WP8", "WinRT45", "Mono", "Monoandroid", "Monotouch", "Monomac"}
$Projects = {
"ReactiveUI", "ReactiveUI.Testing", "ReactiveUI.Platforms", "ReactiveUI.Blend",
"ReactiveUI.NLog", "ReactiveUI.Mobile", "RxUIViewModelGenerator", "ReactiveUI.Events"
"ReactiveUI.Mobile", "RxUIViewModelGenerator", "ReactiveUI.Events"
}

$MSBuildLocation = "C:\Program Files (x86)\MSBuild\12.0\bin"
Expand Down Expand Up @@ -43,6 +45,31 @@ if (Test-Path .\NuGet-Release) {
rm -r -fo .\NuGet-Release
}

# Update Nuspecs if we have a version
if($version) {
$nuspecs = ls -r .\NuGet\*.nuspec

foreach($nuspec in $nuspecs) {
$xml = New-Object XML
$xml.Load($nuspec)

# specify NS
$nsMgr = New-Object System.Xml.XmlNamespaceManager($xml.NameTable)
$nsMgr.AddNamespace("ns", "http://schemas.microsoft.com/packaging/2010/07/nuspec.xsd")

# PowerShell makes editing XML docs so easy!
$xml.package.metadata.version = "$version-beta"

# get the rxui dependencies and update them
$deps = $xml.SelectNodes("//ns:dependency[contains(@id, 'reactiveui')]", $nsMgr)
foreach($dep in $deps) {
$dep.version = "[" + $version + "-beta]"
}

$xml.Save($nuspec)
}
}

cp -r .\NuGet .\NuGet-Release

$libDirs = ls -r .\NuGet-Release | ?{$_.Name -eq "lib"}
Expand Down
42 changes: 21 additions & 21 deletions NuGet/ReactiveUI-Core/ReactiveUI-Core.nuspec
Original file line number Diff line number Diff line change
@@ -1,22 +1,22 @@
<?xml version="1.0" encoding="utf-8"?>
<?xml version="1.0" encoding="utf-8"?>
<package xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema">
<metadata xmlns="http://schemas.microsoft.com/packaging/2010/07/nuspec.xsd">
<id>reactiveui-core</id>
<version>5.4.0</version>
<description>An MVVM library for .NET that is deeply integrated with the Reactive Extensions</description>
<authors>Paul Betts</authors>
<projectUrl>http://www.reactiveui.net</projectUrl>
<licenseUrl>http://opensource.org/licenses/ms-pl.html</licenseUrl>
<language>en-us</language>
<requireLicenseAcceptance>false</requireLicenseAcceptance>

<dependencies>
<group>
<dependency id="Rx-Main" version="2.2.2" />
</group>
<group targetFramework="winrt45">
<dependency id="Rx-WindowStoreApps" version="2.2.2" />
</group>
</dependencies>
</metadata>
</package>
<metadata xmlns="http://schemas.microsoft.com/packaging/2010/07/nuspec.xsd">
<id>reactiveui-core</id>
<version>5.99.0-beta</version>
<description>An MVVM library for .NET that is deeply integrated with the Reactive Extensions</description>
<authors>Paul Betts</authors>
<projectUrl>http://www.reactiveui.net</projectUrl>
<licenseUrl>http://opensource.org/licenses/ms-pl.html</licenseUrl>
<language>en-us</language>
<requireLicenseAcceptance>false</requireLicenseAcceptance>
<dependencies>
<group>
<dependency id="Rx-Main" version="2.2.2" />
<dependency id="Splat" version="1.1.1" />
</group>
<group targetFramework="winrt45">
<dependency id="Rx-WindowStoreApps" version="2.2.2" />
</group>
</dependencies>
</metadata>
</package>
Empty file.
Empty file.
Empty file.
Empty file.
Empty file.
Empty file.
Empty file.
Empty file.
Empty file.
41 changes: 20 additions & 21 deletions NuGet/ReactiveUI-Events/ReactiveUI-Events.nuspec
Original file line number Diff line number Diff line change
@@ -1,22 +1,21 @@
<?xml version="1.0" encoding="utf-8"?>
<?xml version="1.0" encoding="utf-8"?>
<package xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema">
<metadata xmlns="http://schemas.microsoft.com/packaging/2010/07/nuspec.xsd">
<id>reactiveui-events</id>
<version>5.4.0</version>
<description>ReactiveUI.Events adds Observable-based events to UI controls and other appropriate places.</description>
<authors>Paul Betts</authors>
<projectUrl>http://www.reactiveui.net</projectUrl>
<licenseUrl>http://opensource.org/licenses/ms-pl.html</licenseUrl>
<language>en-us</language>
<requireLicenseAcceptance>false</requireLicenseAcceptance>

<dependencies>
<group>
<dependency id="Rx-Main" version="2.2.2" />
</group>
<group targetFramework="winrt45">
<dependency id="Rx-WindowStoreApps" version="2.2.2" />
</group>
</dependencies>
</metadata>
</package>
<metadata xmlns="http://schemas.microsoft.com/packaging/2010/07/nuspec.xsd">
<id>reactiveui-events</id>
<version>5.99.0-beta</version>
<description>ReactiveUI.Events adds Observable-based events to UI controls and other appropriate places.</description>
<authors>Paul Betts</authors>
<projectUrl>http://www.reactiveui.net</projectUrl>
<licenseUrl>http://opensource.org/licenses/ms-pl.html</licenseUrl>
<language>en-us</language>
<requireLicenseAcceptance>false</requireLicenseAcceptance>
<dependencies>
<group>
<dependency id="Rx-Main" version="2.2.2" />
</group>
<group targetFramework="winrt45">
<dependency id="Rx-WindowStoreApps" version="2.2.2" />
</group>
</dependencies>
</metadata>
</package>
31 changes: 15 additions & 16 deletions NuGet/ReactiveUI-Mobile/ReactiveUI-Mobile.nuspec
Original file line number Diff line number Diff line change
@@ -1,17 +1,16 @@
<?xml version="1.0" encoding="utf-8"?>
<?xml version="1.0" encoding="utf-8"?>
<package xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema">
<metadata xmlns="http://schemas.microsoft.com/packaging/2010/07/nuspec.xsd">
<id>reactiveui-mobile</id>
<version>5.4.0</version>
<description>ReactiveUI library for Xamarin.Mobile and other mobile-related helpers</description>
<authors>Paul Betts</authors>
<projectUrl>http://www.reactiveui.net</projectUrl>
<licenseUrl>http://opensource.org/licenses/ms-pl.html</licenseUrl>
<language>en-us</language>
<requireLicenseAcceptance>false</requireLicenseAcceptance>

<dependencies>
<dependency id="reactiveui-platforms" version="[5.4.0]" />
</dependencies>
</metadata>
</package>
<metadata xmlns="http://schemas.microsoft.com/packaging/2010/07/nuspec.xsd">
<id>reactiveui-mobile</id>
<version>5.99.0-beta</version>
<description>ReactiveUI library for Xamarin.Mobile and other mobile-related helpers</description>
<authors>Paul Betts</authors>
<projectUrl>http://www.reactiveui.net</projectUrl>
<licenseUrl>http://opensource.org/licenses/ms-pl.html</licenseUrl>
<language>en-us</language>
<requireLicenseAcceptance>false</requireLicenseAcceptance>
<dependencies>
<dependency id="reactiveui-platforms" version="[5.99.0-beta]" />
</dependencies>
</metadata>
</package>
18 changes: 0 additions & 18 deletions NuGet/ReactiveUI-NLog/ReactiveUI-NLog.nuspec

This file was deleted.

57 changes: 28 additions & 29 deletions NuGet/ReactiveUI-Platforms/ReactiveUI-Platforms.nuspec
Original file line number Diff line number Diff line change
@@ -1,31 +1,30 @@
<?xml version="1.0" encoding="utf-8"?>
<?xml version="1.0" encoding="utf-8"?>
<package xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema">
<metadata xmlns="http://schemas.microsoft.com/packaging/2010/07/nuspec.xsd">
<id>reactiveui-platforms</id>
<version>5.3.0</version>
<description>Platform specific extensions to ReactiveUI</description>
<authors>Paul Betts</authors>
<projectUrl>http://www.reactiveui.net</projectUrl>
<licenseUrl>http://opensource.org/licenses/ms-pl.html</licenseUrl>
<language>en-us</language>
<requireLicenseAcceptance>false</requireLicenseAcceptance>

<dependencies>
<group>
<dependency id="reactiveui-core" version="[5.3.0]" />
</group>
<group targetFramework="net45">
<dependency id="reactiveui-core" version="[5.3.0]" />
<dependency id="Rx-Xaml" version="2.1.30214.0" />
</group>
<group targetFramework="wp8">
<dependency id="reactiveui-core" version="[5.3.0]" />
<dependency id="Rx-Xaml" version="2.1.30214.0" />
</group>
<group targetFramework="winrt45">
<dependency id="reactiveui-core" version="[5.3.0]" />
<dependency id="Rx-Xaml" version="2.1.30214.0" />
</group>
</dependencies>
</metadata>
<metadata xmlns="http://schemas.microsoft.com/packaging/2010/07/nuspec.xsd">
<id>reactiveui-platforms</id>
<version>5.99.0-beta</version>
<description>Platform specific extensions to ReactiveUI</description>
<authors>Paul Betts</authors>
<projectUrl>http://www.reactiveui.net</projectUrl>
<licenseUrl>http://opensource.org/licenses/ms-pl.html</licenseUrl>
<language>en-us</language>
<requireLicenseAcceptance>false</requireLicenseAcceptance>
<dependencies>
<group>
<dependency id="reactiveui-core" version="[5.99.0-beta]" />
</group>
<group targetFramework="net45">
<dependency id="reactiveui-core" version="[5.99.0-beta]" />
<dependency id="Rx-Xaml" version="2.2.2" />
</group>
<group targetFramework="wp8">
<dependency id="reactiveui-core" version="[5.99.0-beta]" />
<dependency id="Rx-Xaml" version="2.2.2" />
</group>
<group targetFramework="winrt45">
<dependency id="reactiveui-core" version="[5.99.0-beta]" />
<dependency id="Rx-Xaml" version="2.2.2" />
</group>
</dependencies>
</metadata>
</package>
55 changes: 27 additions & 28 deletions NuGet/ReactiveUI-Testing/ReactiveUI-Testing.nuspec
Original file line number Diff line number Diff line change
@@ -1,30 +1,29 @@
<?xml version="1.0" encoding="utf-8"?>
<?xml version="1.0" encoding="utf-8"?>
<package xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema">
<metadata xmlns="http://schemas.microsoft.com/packaging/2010/07/nuspec.xsd">
<id>reactiveui-testing</id>
<version>5.4.0</version>
<description>A library to aid in writing unit tests for ReactiveUI projects</description>
<authors>Paul Betts</authors>
<projectUrl>http://www.reactiveui.net</projectUrl>
<licenseUrl>http://opensource.org/licenses/ms-pl.html</licenseUrl>
<language>en-us</language>
<requireLicenseAcceptance>false</requireLicenseAcceptance>

<dependencies>
<group targetFramework="net45">
<dependency id="reactiveui-core" version="[5.4.0]" />
<dependency id="Rx-Testing" version="2.1.30214.0" />
</group>
<group targetFramework="WP8">
<dependency id="reactiveui-core" version="[5.4.0]" />
<dependency id="Rx-Testing" version="2.1.30214.0" />
</group>
<group targetFramework="monoandroid">
<dependency id="reactiveui-core" version="[5.4.0]" />
</group>
<group targetFramework="monotouch">
<dependency id="reactiveui-core" version="[5.4.0]" />
</group>
</dependencies>
</metadata>
<metadata xmlns="http://schemas.microsoft.com/packaging/2010/07/nuspec.xsd">
<id>reactiveui-testing</id>
<version>5.99.0-beta</version>
<description>A library to aid in writing unit tests for ReactiveUI projects</description>
<authors>Paul Betts</authors>
<projectUrl>http://www.reactiveui.net</projectUrl>
<licenseUrl>http://opensource.org/licenses/ms-pl.html</licenseUrl>
<language>en-us</language>
<requireLicenseAcceptance>false</requireLicenseAcceptance>
<dependencies>
<group targetFramework="net45">
<dependency id="reactiveui-core" version="[5.99.0-beta]" />
<dependency id="Rx-Testing" version="2.2.2" />
</group>
<group targetFramework="WP8">
<dependency id="reactiveui-core" version="[5.99.0-beta]" />
<dependency id="Rx-Testing" version="2.2.2" />
</group>
<group targetFramework="monoandroid">
<dependency id="reactiveui-core" version="[5.99.0-beta]" />
</group>
<group targetFramework="monotouch">
<dependency id="reactiveui-core" version="[5.99.0-beta]" />
</group>
</dependencies>
</metadata>
</package>
31 changes: 15 additions & 16 deletions NuGet/ReactiveUI-Winforms/ReactiveUI-Winforms.nuspec
Original file line number Diff line number Diff line change
@@ -1,17 +1,16 @@
<?xml version="1.0" encoding="utf-8"?>
<?xml version="1.0" encoding="utf-8"?>
<package xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema">
<metadata xmlns="http://schemas.microsoft.com/packaging/2010/07/nuspec.xsd">
<id>reactiveui-winforms</id>
<version>5.4.0</version>
<description>Windows Forms specific extensions to ReactiveUI</description>
<authors>Paul Betts</authors>
<projectUrl>http://www.reactiveui.net</projectUrl>
<licenseUrl>http://opensource.org/licenses/ms-pl.html</licenseUrl>
<language>en-us</language>
<requireLicenseAcceptance>false</requireLicenseAcceptance>

<dependencies>
<dependency id="reactiveui-core" version="[5.4.0]" />
</dependencies>
</metadata>
</package>
<metadata xmlns="http://schemas.microsoft.com/packaging/2010/07/nuspec.xsd">
<id>reactiveui-winforms</id>
<version>5.99.0-beta</version>
<description>Windows Forms specific extensions to ReactiveUI</description>
<authors>Paul Betts</authors>
<projectUrl>http://www.reactiveui.net</projectUrl>
<licenseUrl>http://opensource.org/licenses/ms-pl.html</licenseUrl>
<language>en-us</language>
<requireLicenseAcceptance>false</requireLicenseAcceptance>
<dependencies>
<dependency id="reactiveui-core" version="[5.99.0-beta]" />
</dependencies>
</metadata>
</package>
31 changes: 15 additions & 16 deletions NuGet/ReactiveUI/ReactiveUI-Xaml.nuspec
Original file line number Diff line number Diff line change
@@ -1,17 +1,16 @@
<?xml version="1.0" encoding="utf-8"?>
<?xml version="1.0" encoding="utf-8"?>
<package xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema">
<metadata xmlns="http://schemas.microsoft.com/packaging/2010/07/nuspec.xsd">
<id>reactiveui-xaml</id>
<version>5.4.0</version>
<description>An MVVM library for WPF and Silverlight that is deeply integrated with the Reactive Extensions</description>
<authors>Paul Betts</authors>
<projectUrl>http://www.reactiveui.net</projectUrl>
<licenseUrl>http://opensource.org/licenses/ms-pl.html</licenseUrl>
<language>en-us</language>
<requireLicenseAcceptance>false</requireLicenseAcceptance>

<dependencies>
<dependency id="reactiveui-platforms" version="[5.4.0]" />
</dependencies>
</metadata>
</package>
<metadata xmlns="http://schemas.microsoft.com/packaging/2010/07/nuspec.xsd">
<id>reactiveui-xaml</id>
<version>5.99.0-beta</version>
<description>An MVVM library for WPF and Silverlight that is deeply integrated with the Reactive Extensions</description>
<authors>Paul Betts</authors>
<projectUrl>http://www.reactiveui.net</projectUrl>
<licenseUrl>http://opensource.org/licenses/ms-pl.html</licenseUrl>
<language>en-us</language>
<requireLicenseAcceptance>false</requireLicenseAcceptance>
<dependencies>
<dependency id="reactiveui-platforms" version="[5.99.0-beta]" />
</dependencies>
</metadata>
</package>

0 comments on commit 752c04e

Please sign in to comment.