File tree Expand file tree Collapse file tree 2 files changed +10
-8
lines changed
Expand file tree Collapse file tree 2 files changed +10
-8
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 @@ -31,10 +31,10 @@ Task("build")
3131 NoRestore = true ,
3232 NoIncremental = false ,
3333 MSBuildSettings = new DotNetCoreMSBuildSettings ( )
34- . WithProperty ( "Version" , buildVersion . Version )
35- . WithProperty ( "AssemblyVersion" , buildVersion . AssemblyVersion )
36- . WithProperty ( "FileVersion" , buildVersion . FileVersion )
37- . WithProperty ( "ContinuousIntegrationBuild" , BuildSystem . IsLocalBuild ? "false" : "true" )
34+ . SetVersion ( buildVersion . Version )
35+ . SetAssemblyVersion ( buildVersion . AssemblyVersion )
36+ . SetFileVersion ( buildVersion . FileVersion )
37+ . SetContinuousIntegrationBuild ( )
3838 } ) ;
3939} ) ;
4040
@@ -68,9 +68,11 @@ Task("pack")
6868 NoRestore = true ,
6969 NoBuild = true ,
7070 OutputDirectory = "./artifact/nuget" ,
71- MSBuildSettings = new DotNetCoreMSBuildSettings ( )
72- . WithProperty ( "Version" , buildVersion . Version )
73- . WithProperty ( "PackageReleaseNotes" , releaseNotes )
71+ MSBuildSettings = new DotNetCoreMSBuildSettings
72+ {
73+ Version = buildVersion . Version ,
74+ PackageReleaseNotes = releaseNotes ,
75+ } ,
7476 } ) ;
7577} ) ;
7678
You can’t perform that action at this time.
0 commit comments