Skip to content

Commit 2275647

Browse files
authored
Merge pull request #433 from dotnet/feature/repo-coalescing
Coalesce the NativePackages and SilkExtensions repositories
2 parents 9c95391 + a1ec8b5 commit 2275647

File tree

1 file changed

+10
-2
lines changed
  • src/infrastructure/Silk.NET.NUKE

1 file changed

+10
-2
lines changed

src/infrastructure/Silk.NET.NUKE/Build.cs

Lines changed: 10 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -403,12 +403,20 @@ async Task PushPackages()
403403
{
404404
try
405405
{
406-
await NuGetInterface.UploadPackageAsync(uploadResource, NugetNoServiceEndpoint, file, NugetApiKey, symbolsResource);
406+
await NuGetInterface.UploadPackageAsync
407+
(uploadResource, NugetNoServiceEndpoint, file, NugetApiKey, symbolsResource);
407408
pushed++;
408409
}
409410
catch (Exception ex)
410411
{
411-
exceptions.Add(new Exception($"Failed to push package \"{file}\"", ex));
412+
if (file.Contains(".Native.")) // native packages have their own update cycle
413+
{
414+
Logger.Warn(ex);
415+
}
416+
else
417+
{
418+
exceptions.Add(new Exception($"Failed to push package \"{file}\"", ex));
419+
}
412420
}
413421
}
414422
}

0 commit comments

Comments
 (0)