summaryrefslogtreecommitdiff
path: root/doDebian.go
diff options
context:
space:
mode:
authorJeff Carr <[email protected]>2025-10-07 13:20:40 -0500
committerJeff Carr <[email protected]>2025-10-07 13:20:40 -0500
commite07eae84fd550cd52a46f92912cf1b1b755ab75f (patch)
tree72aa5b122b644a6ebe9422b9a5f3e4dcad1dcaff /doDebian.go
parent9cea97eba7242d179c997999b2fac957912e5cd1 (diff)
try to figure out what went wrongv0.1.22
Diffstat (limited to 'doDebian.go')
-rw-r--r--doDebian.go5
1 files changed, 4 insertions, 1 deletions
diff --git a/doDebian.go b/doDebian.go
index bedb691..fd2bde2 100644
--- a/doDebian.go
+++ b/doDebian.go
@@ -68,6 +68,8 @@ func isDebianRelease() bool {
return argv.Build.Debian.Release
}
+var totalBuilt int
+
func buildDeb(check *gitpb.Repo) error {
var cmd []string
@@ -82,7 +84,7 @@ func buildDeb(check *gitpb.Repo) error {
if me.forge.Config.IsPrivate(check.GetNamespace()) {
cmd = []string{"go-deb", "--namespace", check.Namespace, "--dir", outdir}
- return nil
+ // return nil
}
if argv.Verbose {
@@ -98,6 +100,7 @@ func buildDeb(check *gitpb.Repo) error {
log.Info("Building .deb", cmd)
var err error
if _, err = check.RunVerboseOnError(cmd); err != nil {
+ totalBuilt += 1
log.Info(check.FullPath, cmd)
return err
}