Skip to content

Commit

Permalink
Bump Cake.Tool from 1.1.0 to 1.3.0
Browse files Browse the repository at this point in the history
  • Loading branch information
RehanSaeed committed Oct 8, 2021
1 parent 7d2b58b commit 6e685db
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 8 deletions.
11 changes: 4 additions & 7 deletions build.cake
Original file line number Diff line number Diff line change
Expand Up @@ -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,
Expand Down
2 changes: 1 addition & 1 deletion dotnet-tools.json
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
"isRoot": true,
"tools": {
"cake.tool": {
"version": "1.1.0",
"version": "1.3.0",
"commands": [
"dotnet-cake"
]
Expand Down

0 comments on commit 6e685db

Please sign in to comment.