summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJeff Carr <[email protected]>2025-10-27 15:04:26 -0500
committerJeff Carr <[email protected]>2025-10-27 15:04:26 -0500
commit104d1bcd97e42d14ed3858cac653149513262d01 (patch)
tree05d1688f35327a6607c3dc285a9b1b2f124e210d
parentfc8a572f15cfb275e6781a5f1355845ef212d23a (diff)
show the future build. pointless. error was on mirrors.wit.com
-rw-r--r--doBuild.go7
1 files 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})
}