This repository was archived by the owner on Mar 30, 2019. It is now read-only.
File tree Expand file tree Collapse file tree 1 file changed +1
-14
lines changed
Expand file tree Collapse file tree 1 file changed +1
-14
lines changed Original file line number Diff line number Diff line change 4747 <Message Importance="High" Text="Building SharpDX $(SharpDXAssemblyVersion)"/>
4848 <CallTarget Targets="Build"/>
4949 <CallTarget Targets="ZipBuild"/>
50- <CallTarget Condition="'$(SharpDXNugetPush)' == 'true'" Targets="NugetAndPush"/>
51- </Target>
52-
53- <Target Name="NugetAndPush">
54- <CallTarget Targets="Nuget"/>
55- <CallTarget Targets="NugetPush"/>
50+ <CallTarget Condition="'$(SharpDXNugetPush)' == 'true'" Targets="Nuget"/>
5651 </Target>
5752
5853 <Target Name="Build">
7166 <Exec Command="nuget.exe pack -OutputDirectory $(SharpDXNugetPackageDir) -Properties version=$(SharpDXAssemblyVersion) -Symbols %(SharpDXNuspecs.Identity)"/>
7267 </Target>
7368
74- <Target Name="NugetPush">
75- <ItemGroup>
76- <SharpDXNupkg Include="$(SharpDXNugetPackageDir)\*.nupkg"/>
77- </ItemGroup>
78- <Error Condition="'$(SharpDXNugetApiKey)' == ''" Text="SharpDXNugetApiKey env variable is required when pushing nuget package"/>
79- <Exec Command="nuget.exe push -ApiKey $(SharpDXNugetApiKey) %(SharpDXNupkg.Identity)"/>
80- </Target>
81-
8269 <Target Name="ZipBuild">
8370 <Delete Files="$(SharpDXZipName)"/>
8471 <Exec WorkingDirectory="$(SharpDXRepo)" Command='$(SharpDXRepo)\External\7-Zip\7z.exe a -sfx7z.sfx -xr!External -xr!*.check -xr!*.pdb -xr!*.lib -xr!*.pri -xr!*.exp $(SharpDXZipName) Bin\*\*.* License.txt ReleaseNotes.md Readme.md'/>
You can’t perform that action at this time.
0 commit comments