diff options
| author | Jeff Carr <[email protected]> | 2025-10-07 13:20:40 -0500 |
|---|---|---|
| committer | Jeff Carr <[email protected]> | 2025-10-07 13:20:40 -0500 |
| commit | e07eae84fd550cd52a46f92912cf1b1b755ab75f (patch) | |
| tree | 72aa5b122b644a6ebe9422b9a5f3e4dcad1dcaff /doPublish.go | |
| parent | 9cea97eba7242d179c997999b2fac957912e5cd1 (diff) | |
try to figure out what went wrongv0.1.22
Diffstat (limited to 'doPublish.go')
| -rw-r--r-- | doPublish.go | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/doPublish.go b/doPublish.go index 3b57214..0c13f55 100644 --- a/doPublish.go +++ b/doPublish.go @@ -65,8 +65,10 @@ func doPublish() error { if err := doBuildDeb(); err != nil { me.sh.BadExit("debian packages failed", err) } - if _, err := shell.RunRealtimeError([]string{"do-aptly"}); err != nil { - me.sh.BadExit("aptly failed", nil) + if totalBuilt > 0 { + if _, err := shell.RunRealtimeError([]string{"do-aptly"}); err != nil { + me.sh.BadExit("aptly failed", nil) + } } if _, err := shell.RunRealtimeError([]string{"forge", "mode", "normal"}); err != nil { |
