Skip to content

Commit aed7d98

Browse files
committed
Removed semantic versioning info from the version number in the header file.
1 parent f60bc02 commit aed7d98

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

VisualStudioSolutionSecrets/Commands/PushCommand.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -46,7 +46,7 @@ public async Task<int> OnExecute()
4646
{
4747
var headerFile = new HeaderFile
4848
{
49-
visualStudioSolutionSecretsVersion = Versions.VersionString!,
49+
visualStudioSolutionSecretsVersion = Versions.CurrentVersion.ToString(),
5050
lastUpload = DateTime.UtcNow,
5151
solutionFile = solution.Name,
5252
solutionGuid = solution.Uid

VisualStudioSolutionSecrets/Versions.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ public static class Versions
1919

2020
public static string? VersionString { get; }
2121
public static string? CommitHash { get; }
22-
public static Version? CurrentVersion { get; }
22+
public static Version CurrentVersion { get; }
2323

2424

2525
static Versions()

0 commit comments

Comments
 (0)