summaryrefslogtreecommitdiff
path: root/doDebian.go
diff options
context:
space:
mode:
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
}