From 6e685db79277e88c7e41845b049d0d819800a8e6 Mon Sep 17 00:00:00 2001 From: Muhammad Rehan Saeed Date: Fri, 8 Oct 2021 15:19:04 +0100 Subject: [PATCH] Bump Cake.Tool from 1.1.0 to 1.3.0 --- build.cake | 11 ++++------- dotnet-tools.json | 2 +- 2 files changed, 5 insertions(+), 8 deletions(-) diff --git a/build.cake b/build.cake index afca4173..4aa7f3b2 100644 --- a/build.cake +++ b/build.cake @@ -63,19 +63,16 @@ Task("Pack") .Description("Creates NuGet packages and outputs them to the artefacts directory.") .Does(() => { - var buildSettings = new DotNetCoreMSBuildSettings(); - if (!BuildSystem.IsLocalBuild) - { - buildSettings.WithProperty("ContinuousIntegrationBuild", "true"); - } - DotNetCorePack( ".", new DotNetCorePackSettings() { Configuration = configuration, IncludeSymbols = true, - MSBuildSettings = buildSettings, + MSBuildSettings = new DotNetCoreMSBuildSettings() + { + ContinuousIntegrationBuild = !BuildSystem.IsLocalBuild, + }, NoBuild = true, NoRestore = true, OutputDirectory = artefactsDirectory, diff --git a/dotnet-tools.json b/dotnet-tools.json index eea98b15..a28a2371 100644 --- a/dotnet-tools.json +++ b/dotnet-tools.json @@ -3,7 +3,7 @@ "isRoot": true, "tools": { "cake.tool": { - "version": "1.1.0", + "version": "1.3.0", "commands": [ "dotnet-cake" ]