File tree Expand file tree Collapse file tree 2 files changed +16
-8
lines changed Expand file tree Collapse file tree 2 files changed +16
-8
lines changed Original file line number Diff line number Diff line change @@ -98,18 +98,22 @@ of patent rights can be found in the PATENTS file in the same directory.
98
98
</Target >
99
99
100
100
<Target Name =" Push" >
101
- <!-- For dev -->
101
+ <CallTarget Targets =" PushDev" Condition =" $(BuildType) != 'Release'" />
102
+ <CallTarget Targets =" PushRelease" Condition =" $(BuildType) == 'Release'" />
103
+ </Target >
104
+ <Target Name =" PushRelease" >
105
+ <ItemGroup >
106
+ <PackageFiles Include =" $(PackageOutputDir)\*.nupkg" Exclude =" $(PackageOutputDir)\*.symbols.nupkg" />
107
+ </ItemGroup >
102
108
<Exec
103
- Condition=" $(BuildType) != 'Release'"
104
109
WorkingDirectory=" $(MSBuildProjectDirectory)"
105
- Command=" tools\NuGet\nuget.exe push $(PackageOutputDir)\*.symbols.nupkg -Source $(DevNuGetServer ) -NonInteractive"
110
+ Command=" tools\NuGet\nuget.exe push %(PackageFiles.Identity ) -NonInteractive"
106
111
/>
107
-
108
- <!-- For release -- >
112
+ </ Target >
113
+ < Target Name = " PushDev " >
109
114
<Exec
110
- Condition=" $(BuildType) == 'Release'"
111
115
WorkingDirectory=" $(MSBuildProjectDirectory)"
112
- Command=" tools\NuGet\nuget.exe push $(PackageOutputDir)\*.nupkg -NonInteractive"
113
- />
116
+ Command=" tools\NuGet\nuget.exe push $(PackageOutputDir)\*.symbols. nupkg -Source $(DevNuGetServer) -NonInteractive"
117
+ />
114
118
</Target >
115
119
</Project >
Original file line number Diff line number Diff line change 71
71
<None Include =" packages.config" />
72
72
</ItemGroup >
73
73
<ItemGroup >
74
+ <ProjectReference Include =" ..\React.Web\React.Web.csproj" >
75
+ <Project >{134edd16-8dc8-4983-a2e0-b38dab1ecf1c}</Project >
76
+ <Name >React.Web</Name >
77
+ </ProjectReference >
74
78
<ProjectReference Include =" ..\React\React.csproj" >
75
79
<Project >{d0cc8a22-cee6-485c-924b-1f94426fea59}</Project >
76
80
<Name >React</Name >
You can’t perform that action at this time.
0 commit comments