summaryrefslogtreecommitdiff
path: root/doPublish.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 /doPublish.go
parent9cea97eba7242d179c997999b2fac957912e5cd1 (diff)
try to figure out what went wrongv0.1.22
Diffstat (limited to 'doPublish.go')
-rw-r--r--doPublish.go6
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 {