From 82f0e82cbefbc56ef9cca1b5164b833d5eadeb31 Mon Sep 17 00:00:00 2001 From: Jeff Carr Date: Thu, 30 Oct 2025 19:53:16 -0500 Subject: maybe will self publish (?) --- doPublish.go | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/doPublish.go b/doPublish.go index 4a3e9a3..9ac5ea8 100644 --- a/doPublish.go +++ b/doPublish.go @@ -91,13 +91,14 @@ func doPublish() error { releaseReason := "new attempt" for _, repo := range tryme { - log.Printf("tryme: %s reason(%s)", repo.FullPath, repo.State) + log.Printf("tryme: %s reason(%s)\n", repo.FullPath, repo.State) gomod, err := os.ReadFile(filepath.Join(repo.FullPath, "go.mod")) if err != nil { panic("go.mod missing") } log.Info(string(gomod)) if env.True("--doit") { + log.Printf("RUNNING: doRelease(%s, %s, %s) %s\n", repo.Namespace, startRepo.Namespace, releaseReason, repo.GetTargetVersion()) err := doRelease(repo, startRepo, releaseReason) if err != nil { return err @@ -106,6 +107,9 @@ func doPublish() error { log.Printf("WOULD HAVE RUN: doRelease(%s, %s, %s) %s\n", repo.Namespace, startRepo.Namespace, releaseReason, repo.GetTargetVersion()) } } + for _, repo := range tryme { + log.Printf("tryme: %s reason(%s)\n", repo.FullPath, repo.State) + } if !env.True("--doit") { return errors.New("run with --doit to actually try to publish") -- cgit v1.2.3