You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Update ProductInfo to use semver-compliant AssemblyInformationalVersion
ProductInfo.ToString() was recently updated to get the assembly version programmatically, instead of using a hard-coded string. But the particular API used--`Assembly.GetName().Version.ToString(3)`--isn't fully compatible with semver. Specifically, it doesn't handle pre-release labels which can extend the MAJOR.MINOR.PATCH format.
This change updates ToString() to use `Assembly.GetCustomAttribute<AssemblyInformationalVersionAttribute>().InformationalVersion`. The InformationalVersion on the assembly holds the semver-compatible version string.
0 commit comments