diff options
Diffstat (limited to 'doPublish.go')
| -rw-r--r-- | doPublish.go | 7 |
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 { |
