build: fix goreleaser, include optional builder name

builder name shows up in about section again, as does the build time.
This commit is contained in:
Harvey Tindall
2023-06-23 14:41:21 +01:00
parent f083d6b53f
commit b7b3aa1eb7
8 changed files with 22 additions and 7 deletions

View File

@@ -25,7 +25,6 @@ const (
repo = "jfa-go"
)
var buildTimeUnix string
var buildTime time.Time = func() time.Time {
i, _ := strconv.ParseInt(buildTimeUnix, 10, 64)
return time.Unix(i, 0)