File tree Expand file tree Collapse file tree 2 files changed +5
-8
lines changed
Expand file tree Collapse file tree 2 files changed +5
-8
lines changed Original file line number Diff line number Diff 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 ,
Original file line number Diff line number Diff line change 33 "isRoot" : true ,
44 "tools" : {
55 "cake.tool" : {
6- "version" : " 1.1 .0" ,
6+ "version" : " 1.3 .0" ,
77 "commands" : [
88 " dotnet-cake"
99 ]
You can’t perform that action at this time.
0 commit comments