summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--doPublish.go9
1 files changed, 8 insertions, 1 deletions
diff --git a/doPublish.go b/doPublish.go
index b15d92b..c3ac3f9 100644
--- a/doPublish.go
+++ b/doPublish.go
@@ -53,8 +53,15 @@ func doPublish() error {
me.sh.BadExit("merge failed", nil)
}
+ if os.Getenv("GUIRELEASE_REASON") == "" {
+ os.Setenv("GUIRELEASE_REASON", "automated")
+ }
cmd = []string{"guireleaser", "--gui", "andlabs", "--auto-run"}
- if !argv.All {
+ if argv.All {
+ // publish everything. don't be quick about it
+ // updates all go.mod and go.sum files for every repo
+ // that has dependancy changes. todo: only do binaries
+ } else {
// only publish packages that have commits
cmd = append(cmd, "quick")
}