diff options
| author | Jeff Carr <[email protected]> | 2025-10-07 12:49:17 -0500 |
|---|---|---|
| committer | Jeff Carr <[email protected]> | 2025-10-07 12:49:17 -0500 |
| commit | 9cea97eba7242d179c997999b2fac957912e5cd1 (patch) | |
| tree | 1c30b9040d9272f24b33260c38a34b023d36962b /doDebian.go | |
| parent | 525b609a1c88689f990d3fa30282c160dd475302 (diff) | |
maybe it'll build and publish and make .debsv0.1.21
Diffstat (limited to 'doDebian.go')
| -rw-r--r-- | doDebian.go | 15 |
1 files changed, 5 insertions, 10 deletions
diff --git a/doDebian.go b/doDebian.go index e78bbf0..bedb691 100644 --- a/doDebian.go +++ b/doDebian.go @@ -39,7 +39,9 @@ func doBuildDeb() error { continue } - found.Append(check) + if shouldBuild(check) == "yes" { + found.Append(check) + } } printPackagingTable(found) @@ -77,24 +79,17 @@ func buildDeb(check *gitpb.Repo) error { } else { cmd = []string{"go-deb", "--namespace", check.Namespace, "--dir", outdir} } + if me.forge.Config.IsPrivate(check.GetNamespace()) { cmd = []string{"go-deb", "--namespace", check.Namespace, "--dir", outdir} return nil } - if argv.Verbose || argv.Force { + if argv.Verbose { // log.Info("build cmd:", cmd) cmd = append(cmd, "--verbose") } - if argv.Force { - // skip checks - } else { - if isPackageOnMirrors(check) { - return nil - } - } - if argv.DryRun { log.Info("RUN:", check.FullPath, cmd) return nil |
