Skip to content

Commit

Permalink
Build: fix nuget command line typo
Browse files Browse the repository at this point in the history
  • Loading branch information
aaubry committed Jan 18, 2021
1 parent 0fef321 commit 1b7deb8
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions tools/build/BuildDefinition.cs
Original file line number Diff line number Diff line change
Expand Up @@ -147,8 +147,8 @@ public static void Publish(Options options, GitVersion version, NuGetPackage pac

if (version.IsPreRelease)
{
Console.WriteLine($"nuget delete YamlDotNet {version.NuGetVersion} --non-interactive -ApiKey *** -Source https://api.nuget.org/v3/index.json");
Run("nuget", $"delete YamlDotNet {version.NuGetVersion} --non-interactive -ApiKey {apiKey} -Source https://api.nuget.org/v3/index.json", noEcho: true);
Console.WriteLine($"nuget delete YamlDotNet {version.NuGetVersion} -NonInteractive -ApiKey *** -Source https://api.nuget.org/v3/index.json");
Run("nuget", $"delete YamlDotNet {version.NuGetVersion} -NonInteractive -ApiKey {apiKey} -Source https://api.nuget.org/v3/index.json", noEcho: true);
}
}
}
Expand Down

0 comments on commit 1b7deb8

Please sign in to comment.