Commit 2fb57ff 1 parent eac55b2 commit 2fb57ff Copy full SHA for 2fb57ff
File tree 2 files changed +5
-8
lines changed
2 files changed +5
-8
lines changed Original file line number Diff line number Diff line change @@ -79,19 +79,16 @@ Task("Pack")
79
79
. Description ( "Creates NuGet packages and outputs them to the artefacts directory." )
80
80
. Does ( ( ) =>
81
81
{
82
- var buildSettings = new DotNetCoreMSBuildSettings ( ) ;
83
- if ( ! BuildSystem . IsLocalBuild )
84
- {
85
- buildSettings . WithProperty ( "ContinuousIntegrationBuild" , "true" ) ;
86
- }
87
-
88
82
DotNetCorePack (
89
83
"." ,
90
84
new DotNetCorePackSettings ( )
91
85
{
92
86
Configuration = configuration ,
93
87
IncludeSymbols = true ,
94
- MSBuildSettings = buildSettings ,
88
+ MSBuildSettings = new DotNetCoreMSBuildSettings ( )
89
+ {
90
+ ContinuousIntegrationBuild = ! BuildSystem . IsLocalBuild ,
91
+ } ,
95
92
NoBuild = true ,
96
93
NoRestore = true ,
97
94
OutputDirectory = artefactsDirectory ,
Original file line number Diff line number Diff line change 3
3
"isRoot" : true ,
4
4
"tools" : {
5
5
"cake.tool" : {
6
- "version" : " 1.1 .0" ,
6
+ "version" : " 1.3 .0" ,
7
7
"commands" : [
8
8
" dotnet-cake"
9
9
]
You can’t perform that action at this time.
0 commit comments