diff options
| author | Jeff Carr <[email protected]> | 2025-10-07 05:20:12 -0500 |
|---|---|---|
| committer | Jeff Carr <[email protected]> | 2025-10-07 05:20:12 -0500 |
| commit | 8e00d326078a7d65655ce3938123a4b2003c5168 (patch) | |
| tree | b819e2913969ac270592b91e1ead5993f86884de /build.go | |
| parent | 4ecfd42f708f081bc3ae80e2871429563d88ccd1 (diff) | |
Diffstat (limited to 'build.go')
| -rw-r--r-- | build.go | 9 |
1 files changed, 5 insertions, 4 deletions
@@ -31,13 +31,14 @@ func buildPackage(repo *gitpb.Repo) (bool, error) { if arch == "" { arch = "amd64" // todo: detect what you are building on } - version := repo.Control["Version"] - log.Info("version is:", version) const layout = "200601021504" now := time.Now() - debver := version + "-" + now.Format(layout) + version := repo.Control["Version"] + "-" + now.Format(layout) + repo.Control["Version"] = version + log.Info("version is:", version) + // debver := version + "-" + now.Format(layout) - debname := filename + "_" + debver + "_" + arch + ".deb" + debname := filename + "_" + version + "_" + arch + ".deb" var fulldebname string if argv.OutDir == "" { fulldebname = debname |
