File tree Expand file tree Collapse file tree 2 files changed +14
-10
lines changed Expand file tree Collapse file tree 2 files changed +14
-10
lines changed Original file line number Diff line number Diff line change 1
- mode : ContinuousDelivery
2
- branches :
3
- master :
4
- tag : pre
5
- release :
6
- regex : releases?[/-]
7
- tag : ' '
8
- ignore :
9
- sha : []
1
+ mode : Mainline
Original file line number Diff line number Diff line change 1
1
#tool "nuget:?package=xunit.runner.console&version=2.4.1"
2
2
#tool "nuget:?package=Mono.TextTransform&version=1.0.0"
3
3
#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"
5
5
6
6
using System . Reflection ;
7
7
using System . Text . RegularExpressions ;
8
8
using System . Xml . Linq ;
9
+ using Cake . Incubator . LoggingExtensions ;
9
10
10
11
//////////////////////////////////////////////////////////////////////
11
12
// ARGUMENTS
@@ -64,6 +65,17 @@ Task("Restore-NuGet-Packages")
64
65
NuGetRestore ( solutionPath ) ;
65
66
} ) ;
66
67
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
+
67
79
Task ( "Set-Build-Version" )
68
80
. Does ( ( ) =>
69
81
{
You can’t perform that action at this time.
0 commit comments