Skip to content
This repository was archived by the owner on Jun 20, 2023. It is now read-only.

Commit a13f6e0

Browse files
authored
Fix nuget fat packaging license acceptance
1 parent ff4d15d commit a13f6e0

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

nuget.cake

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -647,7 +647,8 @@ Task("PackNuGets")
647647
Information($"Packing {nuspec}...");
648648
NuGetPack(nuspec, new NuGetPackSettings {
649649
BasePath = nuspec.GetDirectory(),
650-
OutputDirectory = outputPath
650+
OutputDirectory = outputPath,
651+
RequireLicenseAcceptance = true, // TODO: work around a bug: https://github.com/cake-build/cake/issues/2061
651652
});
652653

653654
if (packLatestOnly)
@@ -662,4 +663,4 @@ Task("Default")
662663
.IsDependentOn("CreateFatNuGets")
663664
.IsDependentOn("PackNuGets");
664665

665-
RunTarget(target);
666+
RunTarget(target);

0 commit comments

Comments
 (0)