@@ -11,7 +11,7 @@ of patent rights can be found in the PATENTS file in the same directory.
1111 <PropertyGroup >
1212 <Major >0</Major >
1313 <Minor >1</Minor >
14- <Build >0-dev </Build >
14+ <Build >0</Build >
1515 <Revision >0</Revision >
1616 <DevBuild >true</DevBuild >
1717 <DevNuGetServer >http://reactjs.net/dev/packages/</DevNuGetServer >
@@ -23,6 +23,7 @@ of patent rights can be found in the PATENTS file in the same directory.
2323 <PackageAssemblies Include =" React" />
2424 <PackageAssemblies Include =" React.Web" />
2525 <PackageAssemblies Include =" React.Web.Mvc4" />
26+ <PackageAssemblies Include =" React.Web.Mvc3" />
2627 <PackageAssemblies Include =" System.Web.Optimization.React" />
2728 <PackageAssemblies Include =" Cassette.React" />
2829 </ItemGroup >
@@ -52,8 +53,9 @@ of patent rights can be found in the PATENTS file in the same directory.
5253 <Time Format =" yyyyMMdd-HHmm" >
5354 <Output TaskParameter =" FormattedTime" PropertyName =" Date" />
5455 </Time >
55- <PropertyGroup >
56- <Build >$(Build)-$(Date)</Build >
56+ <!-- Prepend date to build version if a dev build-->
57+ <PropertyGroup Condition =" $(BuildType) != 'Release'" >
58+ <Build >$(Build)-dev-$(Date)</Build >
5759 </PropertyGroup >
5860 <AssemblyInfo
5961 CodeLanguage=" CS"
@@ -96,10 +98,18 @@ of patent rights can be found in the PATENTS file in the same directory.
9698 </Target >
9799
98100 <Target Name =" Push" >
99- <!-- Push packages to dev build server -->
101+ <!-- For dev -->
100102 <Exec
103+ Condition=" $(BuildType) != 'Release'"
101104 WorkingDirectory=" $(MSBuildProjectDirectory)"
102105 Command=" tools\NuGet\nuget.exe push $(PackageOutputDir)\*.symbols.nupkg -Source $(DevNuGetServer) -NonInteractive"
103106 />
107+
108+ <!-- For release -->
109+ <Exec
110+ Condition=" $(BuildType) == 'Release'"
111+ WorkingDirectory=" $(MSBuildProjectDirectory)"
112+ Command=" tools\NuGet\nuget.exe push $(PackageOutputDir)\*.nupkg -NonInteractive"
113+ />
104114 </Target >
105115</Project >
0 commit comments