File tree Expand file tree Collapse file tree 2 files changed +9
-7
lines changed Expand file tree Collapse file tree 2 files changed +9
-7
lines changed Original file line number Diff line number Diff line change 3
3
"isRoot" : true ,
4
4
"tools" : {
5
5
"cake.tool" : {
6
- "version" : " 1.2 .0" ,
6
+ "version" : " 1.3 .0" ,
7
7
"commands" : [
8
8
" dotnet-cake"
9
9
]
Original file line number Diff line number Diff line change @@ -32,9 +32,9 @@ Task("build")
32
32
. SetConfiguration ( configuration )
33
33
. UseToolVersion ( MSBuildToolVersion . VS2019 )
34
34
. WithTarget ( "Rebuild" )
35
- . WithProperty ( "Version" , buildVersion . Version )
36
- . WithProperty ( "FileVersion" , buildVersion . FileVersion )
37
- . WithProperty ( "ContinuousIntegrationBuild" , "true" )
35
+ . SetVersion ( buildVersion . Version )
36
+ . SetFileVersion ( buildVersion . FileVersion )
37
+ . SetContinuousIntegrationBuild ( )
38
38
) ;
39
39
} ) ;
40
40
@@ -70,9 +70,11 @@ Task("pack")
70
70
IncludeSymbols = true ,
71
71
IncludeSource = true ,
72
72
OutputDirectory = "./artifact/nuget" ,
73
- MSBuildSettings = new DotNetCoreMSBuildSettings ( )
74
- . WithProperty ( "Version" , buildVersion . Version )
75
- . WithProperty ( "PackageReleaseNotes" , releaseNotes )
73
+ MSBuildSettings = new DotNetCoreMSBuildSettings
74
+ {
75
+ Version = buildVersion . Version ,
76
+ PackageReleaseNotes = releaseNotes ,
77
+ } ,
76
78
} ) ;
77
79
} ) ;
78
80
You can’t perform that action at this time.
0 commit comments