summaryrefslogtreecommitdiff
path: root/doPublish.go
diff options
context:
space:
mode:
authorJeff Carr <[email protected]>2025-10-09 01:29:52 -0500
committerJeff Carr <[email protected]>2025-10-09 01:29:52 -0500
commit97fb72d696512cbe53502918ea059b4ab6fc9755 (patch)
tree880654594d4078f45082a0fbcb6c9b75edc4595e /doPublish.go
parentd78f8181ea0f09a9faadfebab99377f8b3f1b61c (diff)
make 'linux' subcommand
Diffstat (limited to 'doPublish.go')
-rw-r--r--doPublish.go7
1 files changed, 6 insertions, 1 deletions
diff --git a/doPublish.go b/doPublish.go
index 8624e00..b15d92b 100644
--- a/doPublish.go
+++ b/doPublish.go
@@ -53,8 +53,13 @@ func doPublish() error {
me.sh.BadExit("merge failed", nil)
}
- cmd = []string{"guireleaser", "--gui", "andlabs", "--auto-run", "quick"}
+ cmd = []string{"guireleaser", "--gui", "andlabs", "--auto-run"}
+ if !argv.All {
+ // only publish packages that have commits
+ cmd = append(cmd, "quick")
+ }
if argv.Publish.Gomod {
+ // don't delete the .pb.go and go.* files from the master branch right away
cmd = append(cmd, "--keep-gomod")
}
if _, err := shell.RunRealtimeError(cmd); err != nil {