File tree 1 file changed +1
-14
lines changed 1 file changed +1
-14
lines changed Original file line number Diff line number Diff line change 47
47
<Message Importance="High" Text="Building SharpDX $(SharpDXAssemblyVersion)"/>
48
48
<CallTarget Targets="Build"/>
49
49
<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"/>
56
51
</Target>
57
52
58
53
<Target Name="Build">
71
66
<Exec Command="nuget.exe pack -OutputDirectory $(SharpDXNugetPackageDir) -Properties version=$(SharpDXAssemblyVersion) -Symbols %(SharpDXNuspecs.Identity)"/>
72
67
</Target>
73
68
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
-
82
69
<Target Name="ZipBuild">
83
70
<Delete Files="$(SharpDXZipName)"/>
84
71
<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