Skip to content

Commit

Permalink
Merge pull request #111 from prplecake/gitversion-majorminorpatch
Browse files Browse the repository at this point in the history
  • Loading branch information
prplecake committed Aug 21, 2023
2 parents 6152d0e + e7bf4f9 commit eaaa189
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/BookmarkSync.Core/Meta.cs
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,6 @@ public static class Meta
private static readonly Type? GitVersionInformationType = Assembly?.GetType("GitVersionInformation");
public const string Name = "mastodon-bookmark-sync";
public static readonly string
Version = GitVersionInformationType?.GetField("SemVer")?.GetValue(null)?.ToString() ?? "2.0";
Version = GitVersionInformationType?.GetField("MajorMinorPatch")?.GetValue(null)?.ToString() ?? "2.0";
public static readonly ProductInfoHeaderValue UserAgent = new(Name, Version);
}

0 comments on commit eaaa189

Please sign in to comment.