Skip to content

Commit

Permalink
Version
Browse files Browse the repository at this point in the history
  • Loading branch information
credfeto committed Jan 25, 2024
1 parent 4fabba0 commit bdbb7cb
Showing 1 changed file with 6 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -313,10 +313,13 @@ private string GetNextVersion(in RepoContext repoContext)
NuGetVersion version = this._versionDetector.FindVersion(repository: repoContext.Repository.Active, buildNumber: DEFAULT_BUILD_NUMBER);

this._logger.LogInformation($"Last Release was: {version}");
NuGetVersion nextVersion = new(major: version.Major, minor: version.Minor, version.Patch + 1);
this._logger.LogInformation($"Next release is: {version}");

return nextVersion.ToString();
// NuGetVersion nextVersion = new(major: version.Major, minor: version.Minor, version.Patch + 1);
// this._logger.LogInformation($"Next release is: {version}");
//
// return nextVersion.ToString();

return version.ToString();
}

private static class ScoreMultipliers
Expand Down

0 comments on commit bdbb7cb

Please sign in to comment.