Skip to content

Commit

Permalink
build: add GitVersion (#29)
Browse files Browse the repository at this point in the history
  • Loading branch information
hazzik authored Mar 22, 2024
1 parent 80e8177 commit 25b6138
Show file tree
Hide file tree
Showing 5 changed files with 22 additions and 3 deletions.
2 changes: 2 additions & 0 deletions .github/workflows/dotnet.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,8 @@ jobs:

steps:
- uses: actions/checkout@v4
with:
fetch-depth: 0 # avoid shallow clone
- name: Setup .NET
uses: actions/setup-dotnet@v4
with:
Expand Down
6 changes: 6 additions & 0 deletions GitVersion.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
assembly-versioning-scheme: MajorMinor
mode: ContinuousDeployment
major-version-bump-message: "^(build|chore|ci|docs|feat|fix|perf|refactor|revert|style|test)(\\([\\w\\s-]*\\))?(!:|:.*\\n\\n((.+\\n)+\\n)?BREAKING CHANGE:\\s.+)"
minor-version-bump-message: "^(feat)(\\([\\w\\s-]*\\))?:"
patch-version-bump-message: "^(build|chore|ci|docs|fix|perf|refactor|revert|style|test)(\\([\\w\\s-]*\\))?:"
next-version: 4.1.0-alpha
13 changes: 13 additions & 0 deletions src/Directory.Build.props
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
<?xml version="1.0" encoding="utf-8"?>
<Project ToolsVersion="15.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
<ItemGroup>
<PackageReference Include="GitVersion.MsBuild">
<Version>5.12.0</Version>
<PrivateAssets>all</PrivateAssets>
</PackageReference>
<PackageReference Include="Microsoft.NETFramework.ReferenceAssemblies">
<Version>1.0.3</Version>
<PrivateAssets>all</PrivateAssets>
</PackageReference>
</ItemGroup>
</Project>
1 change: 1 addition & 0 deletions src/Iesi.Collections.Test/Iesi.Collections.Test.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@
<Description>The Unit Tests for Iesi.Collections.</Description>
<OutputType>exe</OutputType>
<GenerateProgramFile>false</GenerateProgramFile>
<IsTestProject>true</IsTestProject>
</PropertyGroup>

<ItemGroup>
Expand Down
3 changes: 0 additions & 3 deletions src/Iesi.Collections/Iesi.Collections.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -4,9 +4,6 @@
<Company>NHibernate community</Company>
<Summary>Additional implementations of System.Collections.Generic.ISet&lt;T&gt;.</Summary>
<Description>The System.Collections namespace in the .NET Framework provides a number of collection types that are extremely useful for manipulating data in memory. However, some specialized implementations of ISet are not available. Iesi.Collections 4.0 for .Net 4.0 contains the LinkedHashSet (preserves insertion order), the ReadOnlySet and the SynchronizedSet. The latter two wrap an actual set.</Description>
<Version>4.1.0</Version>
<FileVersion>4.1.0.0</FileVersion>
<AssemblyVersion>4.0.0.4000</AssemblyVersion>
<Copyright>Declaration of code in public domain can be found in comment by Jason Smith at https://www.codeproject.com/Messages/1622667/Re-Licensing-terms.aspx.
Copyright © 2002-2004 by Aidant Systems, Inc., and by Jason Smith.
Copyright © 2012 Oskar Berggren</Copyright>
Expand Down

0 comments on commit 25b6138

Please sign in to comment.