Skip to content

Commit

Permalink
general: identify latest release as a pre-release if true
Browse files Browse the repository at this point in the history
  • Loading branch information
stojy committed Apr 2, 2023
1 parent acc94f6 commit 83fba28
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion ClrVpin/Home/VersionManagementView.cs
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,7 @@ private async Task ShowInternal(List<Release> releases, MaterialWindowEx parent
var latestRelease = releases.First();

ExistingVersion = $"{VersionManagement.GetProductVersion()} ({VersionManagement.GetBuildTime()})";
LatestVersion = $"{latestRelease.TagName} ({latestRelease.CreatedAt.LocalDateTime})";
LatestVersion = $"{latestRelease.TagName}{(latestRelease.Prerelease ? " pre-release" : "")} ({latestRelease.CreatedAt.LocalDateTime})";

// display release notes
ViewLatestReleaseCommand = new ActionCommand(() => ViewLatestVersion(latestRelease));
Expand Down

0 comments on commit 83fba28

Please sign in to comment.