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 33 "isRoot" : true ,
44 "tools" : {
55 "cake.tool" : {
6- "version" : " 1.2 .0" ,
6+ "version" : " 1.3 .0" ,
77 "commands" : [
88 " dotnet-cake"
99 ]
Original file line number Diff line number Diff line change @@ -32,9 +32,9 @@ Task("build")
3232 . SetConfiguration ( configuration )
3333 . UseToolVersion ( MSBuildToolVersion . VS2019 )
3434 . 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 ( )
3838 ) ;
3939} ) ;
4040
@@ -70,9 +70,11 @@ Task("pack")
7070 IncludeSymbols = true ,
7171 IncludeSource = true ,
7272 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+ } ,
7678 } ) ;
7779} ) ;
7880
You can’t perform that action at this time.
0 commit comments