We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 6b24a99 commit 8187976Copy full SHA for 8187976
build/scripts/cake.cs
@@ -285,9 +285,9 @@ int ApplyRevisionBounds(int number)
285
}
286
Information($"NuGet source: {nuGetSource}");
287
288
- var packageSearchPattern = System.IO.Path.Combine(artifactsDir, "*.nupkg");
+ var packages = new DirectoryInfo(artifactsDir).GetFiles("*.nupkg").ToList();
289
var nuGetPushSettings = new DotNetNuGetPushSettings { Source = nuGetSource, ApiKey = nuGetApiKey };
290
- DotNetNuGetPush(packageSearchPattern, nuGetPushSettings);
+ packages.ForEach(x => DotNetNuGetPush(x.FullName, nuGetPushSettings));
291
});
292
293
Task("ZipArtifacts")
0 commit comments