Skip to content

Commit

Permalink
feat: Updating atc-version in NugetPackageReferenceProvider
Browse files Browse the repository at this point in the history
  • Loading branch information
Per Kops committed Oct 12, 2023
1 parent aeefc33 commit 836f017
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -14,13 +14,13 @@ public async Task<Version> GetAtcApiGeneratorVersion()
{
var version = await atcApiNugetClient.RetrieveLatestVersionForPackageId(
"Atc.Rest.ApiGenerator",
CancellationToken.None) ?? new Version(2, 0, 313, 0);
CancellationToken.None) ?? new Version(2, 0, 360, 0);

var assemblyVersion = CliHelper.GetCurrentVersion();

return assemblyVersion.GreaterThan(version)
? assemblyVersion
: new Version(2, 0, 313, 0);
: new Version(2, 0, 360, 0);
}

public async Task<IList<(string PackageId, string PackageVersion, string? SubElements)>> GetPackageReferencesBaseLineForHostProject(
Expand Down

0 comments on commit 836f017

Please sign in to comment.