Skip to content

Commit aa9d446

Browse files
committed
Switch to Mainline development
1 parent 7d24572 commit aa9d446

File tree

2 files changed

+14
-10
lines changed

2 files changed

+14
-10
lines changed

GitVersion.yml

Lines changed: 1 addition & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1 @@
1-
mode: ContinuousDelivery
2-
branches:
3-
master:
4-
tag: pre
5-
release:
6-
regex: releases?[/-]
7-
tag: ''
8-
ignore:
9-
sha: []
1+
mode: Mainline

build.cake

Lines changed: 13 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,12 @@
11
#tool "nuget:?package=xunit.runner.console&version=2.4.1"
22
#tool "nuget:?package=Mono.TextTransform&version=1.0.0"
33
#tool "nuget:?package=GitVersion.CommandLine&version=4.0.0"
4-
#tool "nuget:?package=Cake.Incubator&version=4.0.1"
4+
#addin "nuget:?package=Cake.Incubator&version=4.0.1"
55

66
using System.Reflection;
77
using System.Text.RegularExpressions;
88
using System.Xml.Linq;
9+
using Cake.Incubator.LoggingExtensions;
910

1011
//////////////////////////////////////////////////////////////////////
1112
// ARGUMENTS
@@ -64,6 +65,17 @@ Task("Restore-NuGet-Packages")
6465
NuGetRestore(solutionPath);
6566
});
6667

68+
Task("Show-Version")
69+
.Does(() =>
70+
{
71+
var version = GitVersion(new GitVersionSettings
72+
{
73+
UpdateAssemblyInfo = false,
74+
});
75+
76+
Information("Version:\n{0}", version.Dump());
77+
});
78+
6779
Task("Set-Build-Version")
6880
.Does(() =>
6981
{

0 commit comments

Comments
 (0)