summaryrefslogtreecommitdiff
path: root/doPublish.go
diff options
context:
space:
mode:
Diffstat (limited to 'doPublish.go')
-rw-r--r--doPublish.go6
1 files changed, 5 insertions, 1 deletions
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")