From 104d1bcd97e42d14ed3858cac653149513262d01 Mon Sep 17 00:00:00 2001 From: Jeff Carr Date: Mon, 27 Oct 2025 15:04:26 -0500 Subject: show the future build. pointless. error was on mirrors.wit.com --- doBuild.go | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/doBuild.go b/doBuild.go index 6a21a9a..3a5cb02 100644 --- a/doBuild.go +++ b/doBuild.go @@ -42,7 +42,7 @@ func doBuild() (string, error) { } tobuild := gitpb.NewRepos() var simpletable [][]string - simpletable = append(simpletable, []string{"debname", "version", " age", "smartver", "curb", "curver", "newb", "build", "arch", "FullPath"}) + simpletable = append(simpletable, []string{"debname", "version", " age", "smartver", "curb", "curver", "newb", "final", "build", "arch", "FullPath"}) for i, line := range strings.Split(string(data), "\n") { var path string var debname string @@ -83,12 +83,15 @@ func doBuild() (string, error) { // log.Info("MAKE DEB FOR:", i, path, debname, arches) bcount := fmt.Sprintf("%d", p.GetBuildCount()) var newcount string + var final string smartver := p.GetSmartVersion() curver := repo.GetSmartVersion() if smartver == curver { newcount = fmt.Sprintf("%d", p.GetBuildCount()+1) + final = repo.DebianCurrentVersion(p.GetBuildCount() + 1) } else { newcount = fmt.Sprintf("%d", 0) + final = repo.DebianCurrentVersion(0) } var age string if t := p.GetAge(); t == nil { @@ -105,7 +108,7 @@ func doBuild() (string, error) { tobuild.Clone(repo) } - simpletable = append(simpletable, []string{debname, p.Version, age, smartver, bcount, curver, newcount, build, arches, cmdstr}) + simpletable = append(simpletable, []string{debname, p.Version, age, smartver, bcount, curver, newcount, final, build, arches, cmdstr}) } -- cgit v1.2.3