diff options
| author | Jeff Carr <[email protected]> | 2025-10-30 19:53:16 -0500 | 
|---|---|---|
| committer | Jeff Carr <[email protected]> | 2025-10-30 19:53:16 -0500 | 
| commit | 82f0e82cbefbc56ef9cca1b5164b833d5eadeb31 (patch) | |
| tree | 3250380f9727f193e566e6e2ac681d2e52e7b69b | |
| parent | dafb9c7028762f0c86499fc3fa557132064d37ec (diff) | |
maybe will self publish (?)v0.1.56
| -rw-r--r-- | doPublish.go | 6 | 
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")  | 
