Skip to content

Commit

Permalink
Use MinVer
Browse files Browse the repository at this point in the history
  • Loading branch information
xoofx committed Feb 14, 2022
1 parent d220a00 commit 477d573
Showing 1 changed file with 7 additions and 4 deletions.
11 changes: 7 additions & 4 deletions src/Tomlyn/Tomlyn.props
Original file line number Diff line number Diff line change
@@ -1,16 +1,12 @@
<?xml version="1.0" encoding="utf-8"?>
<Project ToolsVersion="15.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
<PropertyGroup>
<VersionPrefix>0.10.2</VersionPrefix>
<TargetFrameworks>netstandard2.0;net6.0</TargetFrameworks>
<LangVersion>10.0</LangVersion>
<Description>Tomlyn is a TOML parser, validator and authoring library for .NET.</Description>
<Copyright>Alexandre Mutel</Copyright>
<Authors>Alexandre Mutel</Authors>
<NeutralLanguage>en-US</NeutralLanguage>
<!--<VersionSuffix>alpha</VersionSuffix>
<BuildNumber>001</BuildNumber>-->
<VersionSuffix Condition="'$(VersionSuffix)' != '' AND '$(BuildNumber)' != ''">$(VersionSuffix)-$(BuildNumber)</VersionSuffix>
<PackageTags>toml;parser</PackageTags>
<PackageReleaseNotes>https://github.com/xoofx/Tomlyn/blob/master/changelog.md</PackageReleaseNotes>
<PackageReadmeFile>readme.md</PackageReadmeFile>
Expand All @@ -31,6 +27,13 @@
<None Include="../../readme.md" Pack="true" PackagePath="/"/>
</ItemGroup>

<ItemGroup>
<PackageReference Include="MinVer" Version="2.5.0">
<PrivateAssets>all</PrivateAssets>
<IncludeAssets>runtime; build; native; contentfiles; analyzers; buildtransitive</IncludeAssets>
</PackageReference>
</ItemGroup>

<ItemGroup Condition="'$(GITHUB_ACTIONS)' != ''">
<!--Add support for sourcelink-->
<PackageReference Include="Microsoft.SourceLink.GitHub" Version="1.1.*" PrivateAssets="All" />
Expand Down

0 comments on commit 477d573

Please sign in to comment.