Skip to content

Commit 2fb57ff

Browse files
committed
Bump Cake.Tool from 1.1.0 to 1.3.0
1 parent eac55b2 commit 2fb57ff

File tree

2 files changed

+5
-8
lines changed

2 files changed

+5
-8
lines changed

build.cake

+4-7
Original file line numberDiff line numberDiff line change
@@ -79,19 +79,16 @@ Task("Pack")
7979
.Description("Creates NuGet packages and outputs them to the artefacts directory.")
8080
.Does(() =>
8181
{
82-
var buildSettings = new DotNetCoreMSBuildSettings();
83-
if (!BuildSystem.IsLocalBuild)
84-
{
85-
buildSettings.WithProperty("ContinuousIntegrationBuild", "true");
86-
}
87-
8882
DotNetCorePack(
8983
".",
9084
new DotNetCorePackSettings()
9185
{
9286
Configuration = configuration,
9387
IncludeSymbols = true,
94-
MSBuildSettings = buildSettings,
88+
MSBuildSettings = new DotNetCoreMSBuildSettings()
89+
{
90+
ContinuousIntegrationBuild = !BuildSystem.IsLocalBuild,
91+
},
9592
NoBuild = true,
9693
NoRestore = true,
9794
OutputDirectory = artefactsDirectory,

dotnet-tools.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
"isRoot": true,
44
"tools": {
55
"cake.tool": {
6-
"version": "1.1.0",
6+
"version": "1.3.0",
77
"commands": [
88
"dotnet-cake"
99
]

0 commit comments

Comments
 (0)