Skip to content

Commit 1d641ba

Browse files
committed
GitVersion
- Use GitVersion to stamp version numbers into assemblies. https://github.com/GitTools/GitVersion Use Mainline versioning policy in GitVersion v4.0.0. - Bump next version to 1.2.x for easier reference.
1 parent fa47c11 commit 1d641ba

3 files changed

Lines changed: 11 additions & 3 deletions

File tree

GitVersion.yml

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,8 @@
11
assembly-versioning-scheme: Major
2-
mode: ContinuousDelivery
3-
next-version: 1.1.8
2+
mode: Mainline
3+
increment: Patch
4+
next-version: 1.2.0
45
branches:
56
master:
6-
tag: pre
7+
tag: alpha
8+
prevent-increment-of-merged-branch-version: true

ServerHost.sln

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -20,6 +20,7 @@ Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "Build", "Build", "{64DBC33D
2020
Build.sh = Build.sh
2121
Clean.cmd = Clean.cmd
2222
documentation\DocFormatter.xsl = documentation\DocFormatter.xsl
23+
GitVersion.yml = GitVersion.yml
2324
nuget-restore.cmd = nuget-restore.cmd
2425
ServerHost.nuspec = ServerHost.nuspec
2526
Test.cmd = Test.cmd

ServerHost/ServerHost.csproj

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -44,6 +44,11 @@
4444
</PropertyGroup>
4545

4646
<ItemGroup>
47+
<PackageReference Include="GitVersionTask">
48+
<Version>4.0.0-beta0014</Version>
49+
<IncludeAssets>runtime; build; native; contentfiles; analyzers</IncludeAssets>
50+
<PrivateAssets>all</PrivateAssets>
51+
</PackageReference>
4752
<PackageReference Include="log4net">
4853
<Version>2.0.5</Version>
4954
</PackageReference>

0 commit comments

Comments
 (0)