Fix UpdateVersionsRepo to pass file paths instead of a directory
This commit is contained in:
parent
21471aa956
commit
21080fc5be
1 changed files with 2 additions and 1 deletions
|
@ -4,6 +4,7 @@
|
|||
using Microsoft.Build.Framework;
|
||||
using Microsoft.Build.Utilities;
|
||||
using Microsoft.DotNet.VersionTools.Automation;
|
||||
using System.IO;
|
||||
|
||||
namespace Microsoft.DotNet.Cli.Build
|
||||
{
|
||||
|
@ -25,7 +26,7 @@ namespace Microsoft.DotNet.Cli.Build
|
|||
GitHubAuth auth = new GitHubAuth(GitHubPassword);
|
||||
GitHubVersionsRepoUpdater repoUpdater = new GitHubVersionsRepoUpdater(auth);
|
||||
repoUpdater.UpdateBuildInfoAsync(
|
||||
new [] { PackagesDirectory },
|
||||
Directory.GetFiles(PackagesDirectory, "*.nupkg"),
|
||||
versionsRepoPath).Wait();
|
||||
|
||||
return true;
|
||||
|
|
Loading…
Reference in a new issue