Skip to content

Commit d9c0a35

Browse files
committed
[Build] Exit with error if nuget failed
1 parent e5d90a9 commit d9c0a35

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Build/SharpDX.build

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -76,7 +76,7 @@
7676
<SharpDXNupkg Include="$(SharpDXNugetPackageDir)\*.nupkg"/>
7777
</ItemGroup>
7878
<Error Condition="'$(SharpDXNugetApiKey)' == ''" Text="SharpDXNugetApiKey env variable is required when pushing nuget package"/>
79-
<Exec Command="nuget.exe push -ApiKey $(SharpDXNugetApiKey) %(SharpDXNupkg.Identity)" IgnoreExitCode="true"/>
79+
<Exec Command="nuget.exe push -ApiKey $(SharpDXNugetApiKey) %(SharpDXNupkg.Identity)"/>
8080
</Target>
8181

8282
<Target Name="ZipBuild">

0 commit comments

Comments
 (0)