File tree Expand file tree Collapse file tree 1 file changed +10
-4
lines changed
Sources/App/Views/PackageController/Builds Expand file tree Collapse file tree 1 file changed +10
-4
lines changed Original file line number Diff line number Diff line change @@ -70,6 +70,15 @@ enum BuildShow {
70
70
. href( model. packageURL) ,
71
71
. text( model. packageName)
72
72
) ,
73
+ . unwrap( model. buildInfo. buildDetails) {
74
+ . group(
75
+ . text( " , reference " ) ,
76
+ . strong( " \( model. reference) " ) ,
77
+ . text( " ( " ) ,
78
+ . code( " \( $0. commitHash. prefix ( 6 ) ) " ) ,
79
+ . text( " ), " )
80
+ )
81
+ } ,
73
82
. text( " with " ) ,
74
83
. strong(
75
84
. text( model. buildInfo. swiftVersion. longDisplayName) ,
@@ -86,14 +95,11 @@ enum BuildShow {
86
95
. unwrap( model. buildInfo. xcodeVersion) {
87
96
. group(
88
97
. text( " using " ) ,
89
- . strong( . text( $0) ) ,
90
- . text( " at " ) ,
91
- . strong( . text( model. reference) )
98
+ . strong( . text( $0) )
92
99
)
93
100
} ,
94
101
. unwrap( model. buildInfo. buildDetails) {
95
102
. group(
96
- . text( " ( \( $0. commitHash. prefix ( 6 ) ) ) " ) ,
97
103
. text( " on " ) ,
98
104
. strong( . text( DateFormatter . utcFullDateTimeDateFormatter. string ( from: $0. buildDate) + " UTC " ) )
99
105
)
You can’t perform that action at this time.
0 commit comments