diff options
| author | Jeff Carr <[email protected]> | 2025-10-15 05:34:36 -0500 |
|---|---|---|
| committer | Jeff Carr <[email protected]> | 2025-10-15 05:34:36 -0500 |
| commit | f7f02647de5f52c23202e5c2c67954bfa5af1007 (patch) | |
| tree | 478a4ff5a9fc09336ebf34067fea499abf802ea1 /build.go | |
| parent | 87cb75966a79788f7c6192c0397b92c09114b104 (diff) | |
add Recommends
Diffstat (limited to 'build.go')
| -rw-r--r-- | build.go | 9 |
1 files changed, 6 insertions, 3 deletions
@@ -31,9 +31,12 @@ func buildPackage(repo *gitpb.Repo) (bool, error) { if arch == "" { arch = argv.Arch } - const layout = "200601021504" - now := time.Now().UTC() - version := repo.Control["Version"] + "-" + now.Format(layout) + // const layout = "200601021504" + // now := time.Now().UTC() + version := repo.Control["Version"] + if argv.BuildVersion != "" { + version += argv.BuildVersion + } repo.Control["Version"] = version log.Info("version is:", version) // debver := version + "-" + now.Format(layout) |
