Uses MinVer to derive the version from git tags (prefix "v"), stored in AssemblyInformationalVersion. Program.cs reads that attribute (stripping the "+sha" build metadata) so the update-check compares against a clean semver. CI overrides the tag via /p:MinVerVersionOverride=$VERSION.
9 lines
206 B
XML
9 lines
206 B
XML
<Project>
|
|
<PropertyGroup>
|
|
<MinVerTagPrefix>v</MinVerTagPrefix>
|
|
</PropertyGroup>
|
|
<ItemGroup>
|
|
<PackageReference Include="MinVer" Version="5.0.0" PrivateAssets="all" />
|
|
</ItemGroup>
|
|
</Project>
|