File tree Expand file tree Collapse file tree 1 file changed +2
-1
lines changed Expand file tree Collapse file tree 1 file changed +2
-1
lines changed Original file line number Diff line number Diff line change @@ -72,7 +72,7 @@ public static void MakeBuildInfo(Project project, BuildTimeInfo bti)
72
72
var path = Folders . Source / project . Name / "Properties" / "AssemblyInfo.cs" ;
73
73
var fullVersion = bti . FullVersion ;
74
74
var version = BuildContext . GetVersionWithoutPreReleeaseName ( fullVersion ) ;
75
- var infoVersion = $ "{ fullVersion } built on { buildTimeUtc } UTC ";
75
+ var infoVersion = $ "{ fullVersion } built on { buildTimeUtc : u } ";
76
76
var copyright = $ "Brian Chavez © { buildTimeUtc . Year } ";
77
77
var title = project . GetProperty ( "NukeProjectTitle" ) ;
78
78
var attrs = new List < AssemblyInfo . Attribute >
@@ -85,6 +85,7 @@ public static void MakeBuildInfo(Project project, BuildTimeInfo bti)
85
85
AssemblyInfo . FileVersion ( version ) ,
86
86
AssemblyInfo . InformationalVersion ( infoVersion ) ,
87
87
AssemblyInfo . Trademark ( "MIT License" ) ,
88
+ //AssemblyInfo.Metadata("BuildTime", $"{bti.BuildTimeUtc:u}")
88
89
//AssemblyInfo.Metadata("CommitHash", )
89
90
} ;
90
91
attrs . AddRange ( bti . ExtraAttributes ) ;
You can’t perform that action at this time.
0 commit comments