@@ -11,7 +11,7 @@ of patent rights can be found in the PATENTS file in the same directory.
11
11
<PropertyGroup >
12
12
<Major >0</Major >
13
13
<Minor >1</Minor >
14
- <Build >0-dev </Build >
14
+ <Build >0</Build >
15
15
<Revision >0</Revision >
16
16
<DevBuild >true</DevBuild >
17
17
<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.
23
23
<PackageAssemblies Include =" React" />
24
24
<PackageAssemblies Include =" React.Web" />
25
25
<PackageAssemblies Include =" React.Web.Mvc4" />
26
+ <PackageAssemblies Include =" React.Web.Mvc3" />
26
27
<PackageAssemblies Include =" System.Web.Optimization.React" />
27
28
<PackageAssemblies Include =" Cassette.React" />
28
29
</ItemGroup >
@@ -52,8 +53,9 @@ of patent rights can be found in the PATENTS file in the same directory.
52
53
<Time Format =" yyyyMMdd-HHmm" >
53
54
<Output TaskParameter =" FormattedTime" PropertyName =" Date" />
54
55
</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 >
57
59
</PropertyGroup >
58
60
<AssemblyInfo
59
61
CodeLanguage=" CS"
@@ -96,10 +98,18 @@ of patent rights can be found in the PATENTS file in the same directory.
96
98
</Target >
97
99
98
100
<Target Name =" Push" >
99
- <!-- Push packages to dev build server -->
101
+ <!-- For dev -->
100
102
<Exec
103
+ Condition=" $(BuildType) != 'Release'"
101
104
WorkingDirectory=" $(MSBuildProjectDirectory)"
102
105
Command=" tools\NuGet\nuget.exe push $(PackageOutputDir)\*.symbols.nupkg -Source $(DevNuGetServer) -NonInteractive"
103
106
/>
107
+
108
+ <!-- For release -->
109
+ <Exec
110
+ Condition=" $(BuildType) == 'Release'"
111
+ WorkingDirectory=" $(MSBuildProjectDirectory)"
112
+ Command=" tools\NuGet\nuget.exe push $(PackageOutputDir)\*.nupkg -NonInteractive"
113
+ />
104
114
</Target >
105
115
</Project >
0 commit comments