You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: run.cake
+7-2Lines changed: 7 additions & 2 deletions
Original file line number
Diff line number
Diff line change
@@ -415,7 +415,6 @@ Task("Release-Notes")
415
415
Task("Publish-AppVeyor")
416
416
.WithCriteria(()=>parameters.IsRunningOnWindows,"Publish-AppVeyor works only on Windows agents.")
417
417
.WithCriteria(()=>parameters.IsRunningOnAppVeyor,"Publish-AppVeyor works only on AppVeyor.")
418
-
.WithCriteria(()=>parameters.IsStableRelease()||parameters.IsPreRelease()||parameters.EnabledPullRequestPublish,"Publish-AppVeyor works only for releases.")
419
418
.IsDependentOn("Pack")
420
419
.IsDependentOn("Release-Notes")
421
420
.Does(()=>
@@ -433,13 +432,13 @@ Task("Publish-AppVeyor")
433
432
.OnError(exception =>
434
433
{
435
434
Information("Publish-AppVeyor Task failed, but continuing with next Task...");
435
+
Error(exception.Dump());
436
436
publishingError=true;
437
437
});
438
438
439
439
Task("Publish-AzurePipeline")
440
440
.WithCriteria(()=>parameters.IsRunningOnWindows,"Publish-AzurePipeline works only on Windows agents.")
441
441
.WithCriteria(()=>parameters.IsRunningOnAzurePipeline,"Publish-AzurePipeline works only on AzurePipeline.")
442
-
.WithCriteria(()=>parameters.IsStableRelease()||parameters.IsPreRelease(),"Publish-AzurePipeline works only for releases.")
443
442
.IsDependentOn("Pack")
444
443
.IsDependentOn("Release-Notes")
445
444
.Does(()=>
@@ -456,6 +455,7 @@ Task("Publish-AzurePipeline")
456
455
.OnError(exception =>
457
456
{
458
457
Information("Publish-AzurePipeline Task failed, but continuing with next Task...");
458
+
Error(exception.Dump());
459
459
publishingError=true;
460
460
});
461
461
@@ -485,6 +485,7 @@ Task("Publish-Tfs")
485
485
.OnError(exception =>
486
486
{
487
487
Information("Publish-Tfs Task failed, but continuing with next Task...");
488
+
Error(exception.Dump());
488
489
publishingError=true;
489
490
});
490
491
@@ -512,6 +513,7 @@ Task("Publish-Gem")
512
513
.OnError(exception =>
513
514
{
514
515
Information("Publish-Gem Task failed, but continuing with next Task...");
516
+
Error(exception.Dump());
515
517
publishingError=true;
516
518
});
517
519
@@ -552,6 +554,7 @@ Task("Publish-DockerHub")
552
554
.OnError(exception =>
553
555
{
554
556
Information("Publish-DockerHub Task failed, but continuing with next Task...");
557
+
Error(exception.Dump());
555
558
publishingError=true;
556
559
});
557
560
@@ -589,6 +592,7 @@ Task("Publish-NuGet")
589
592
.OnError(exception =>
590
593
{
591
594
Information("Publish-NuGet Task failed, but continuing with next Task...");
595
+
Error(exception.Dump());
592
596
publishingError=true;
593
597
});
594
598
@@ -627,6 +631,7 @@ Task("Publish-Chocolatey")
627
631
.OnError(exception =>
628
632
{
629
633
Information("Publish-Chocolatey Task failed, but continuing with next Task...");
0 commit comments