diff options
| author | Jeff Carr <[email protected]> | 2025-01-18 03:14:41 -0600 |
|---|---|---|
| committer | Jeff Carr <[email protected]> | 2025-01-18 03:14:41 -0600 |
| commit | e8f29e593d71cf4f12763d9e88466aa57cb54807 (patch) | |
| tree | 9a9440b3540f651ffb49a524352c5775217dde3e /build.go | |
| parent | b8d0864c37a53045e8fc801777749826f1221dbc (diff) | |
more human readable but standard version timestampv0.0.51
Diffstat (limited to 'build.go')
| -rw-r--r-- | build.go | 3 |
1 files changed, 2 insertions, 1 deletions
@@ -115,7 +115,8 @@ func (f *Forge) doBuild(repo *gitpb.Repo, userFlags []string, goWhat string) err // set standard ldflag options now := time.Now() - datestamp := now.UTC().Format("2006/01/02_1504_UTC") + // datestamp := now.UTC().Format("2006/01/02_1504_UTC") + datestamp := now.UTC().Format("2006-01-02_15:04:05_UTC") // 2006-01-02 15:04:05 UTC // log.Info("datestamp =", datestamp) // add some standard golang flags ldflags := "-X main.VERSION=" + version + " " |
