Skip to content

Commit 83afed2

Browse files
committed
Added versioning with MinVer
1 parent f2e0152 commit 83afed2

File tree

2 files changed

+15
-11
lines changed

2 files changed

+15
-11
lines changed

README.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,7 @@
11
# Cubist.Helium
22

33
![Build](https://github.com/resc/Cubist.Helium/actions/workflows/dotnet.yml/badge.svg?branch=master)
4+
![Nuget Package Version](https://img.shields.io/nuget/v/Cubist.Helium)
45

56
![Logo By Stable Diffusion](./resources/Cubist.Helium.png)
67

src/Cubist.Helium/Cubist.Helium.csproj

Lines changed: 14 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,10 @@
44
<TargetFramework>net6.0</TargetFramework>
55
<ImplicitUsings>enable</ImplicitUsings>
66
<Nullable>enable</Nullable>
7-
<GeneratePackageOnBuild>True</GeneratePackageOnBuild>
7+
<IncludeSymbols>True</IncludeSymbols>
8+
<ContinuousIntegrationBuild>true</ContinuousIntegrationBuild>
9+
<GenerateDocumentationFile>True</GenerateDocumentationFile>
10+
811
<Title>$(AssemblyName) Html Generator</Title>
912
<Authors>Remco Schoeman</Authors>
1013
<Description>A small and simple no guardrails html generator library for .NET 6+</Description>
@@ -16,26 +19,26 @@
1619
<PackageTags>html template generator</PackageTags>
1720
<PackageOutputPath>$(OutputPath)</PackageOutputPath>
1821
<PackageLicenseFile>LICENSE.txt</PackageLicenseFile>
19-
<IncludeSymbols>True</IncludeSymbols>
2022
<PackageRequireLicenseAcceptance>True</PackageRequireLicenseAcceptance>
21-
<GenerateDocumentationFile>True</GenerateDocumentationFile>
22-
<SymbolPackageFormat>snupkg</SymbolPackageFormat>
23-
<ContinuousIntegrationBuild>true</ContinuousIntegrationBuild>
24-
</PropertyGroup>
23+
<SymbolPackageFormat>snupkg</SymbolPackageFormat>
24+
<EnablePackageValidation>true</EnablePackageValidation>
2525

26-
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug|AnyCPU'">
27-
<DebugType>portable</DebugType>
26+
<DebugType>portable</DebugType>
2827
</PropertyGroup>
29-
30-
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release|AnyCPU'">
31-
<DebugType>portable</DebugType>
28+
29+
<PropertyGroup>
30+
<MinVerTagPrefix>v</MinVerTagPrefix>
3231
</PropertyGroup>
3332

3433
<ItemGroup>
3534
<PackageReference Include="DotNet.ReproducibleBuilds" Version="1.1.1">
3635
<PrivateAssets>all</PrivateAssets>
3736
<IncludeAssets>runtime; build; native; contentfiles; analyzers</IncludeAssets>
3837
</PackageReference>
38+
<PackageReference Include="MinVer" Version="4.3.0">
39+
<PrivateAssets>all</PrivateAssets>
40+
<IncludeAssets>runtime; build; native; contentfiles; analyzers; buildtransitive</IncludeAssets>
41+
</PackageReference>
3942
</ItemGroup>
4043

4144
<ItemGroup>

0 commit comments

Comments
 (0)