diff options
| author | Jeff Carr <[email protected]> | 2025-10-27 15:04:26 -0500 |
|---|---|---|
| committer | Jeff Carr <[email protected]> | 2025-10-27 15:04:26 -0500 |
| commit | 104d1bcd97e42d14ed3858cac653149513262d01 (patch) | |
| tree | 05d1688f35327a6607c3dc285a9b1b2f124e210d | |
| parent | fc8a572f15cfb275e6781a5f1355845ef212d23a (diff) | |
show the future build. pointless. error was on mirrors.wit.com
| -rw-r--r-- | doBuild.go | 7 |
1 files changed, 5 insertions, 2 deletions
@@ -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}) } |
