Skip to content
This repository has been archived by the owner on Nov 6, 2024. It is now read-only.

Commit

Permalink
[update-config.csx] Fix issue causing incorrect nuget version numbers…
Browse files Browse the repository at this point in the history
… for GPS.
  • Loading branch information
jpobst committed Jan 20, 2021
1 parent 0600524 commit 366d3c9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion build/scripts/update-config.csx
Original file line number Diff line number Diff line change
Expand Up @@ -55,7 +55,7 @@ foreach (var art in config[0].Artifacts.Where(a => !a.DependencyOnly)) {
if (should_update)
{
var new_version = GetLatestVersion (a)?.ToString ();
var prefix = art.NugetVersion.StartsWith ("1" + art.Version + ".") ? "1" : string.Empty;
var prefix = art.NugetVersion.StartsWith ("1" + art.Version) ? "1" : string.Empty;

art.Version = new_version;
art.NugetVersion = prefix + new_version;
Expand Down

0 comments on commit 366d3c9

Please sign in to comment.