Improve ui for builds

This commit is contained in:
Lunny Xiao authored and Jason Song committed 2022-11-25 17:48:45 +08:00
1 parent d69423a3b0
commit 3518c098b9
6 files changed
+75 -47

No files matched your search

+3
View File
@@ -472,6 +472,9 @@ func NewFuncMap() []template.FuncMap {
curBranch,
)
},
"RefShortName": func(ref string) string {
return git.RefName(ref).ShortName()
},
}}
}