summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJeff Carr <[email protected]>2025-10-17 17:27:45 -0500
committerJeff Carr <[email protected]>2025-10-17 17:27:45 -0500
commit56477d40119d5788b065f6c31d79a762a90de318 (patch)
tree570fabb35a2a772cd1c9a66616bceae9149327f4
parent006feab5a020ce63e5d3daea01bf496a9dcc16c4 (diff)
try to figure out guireleaser table problem
-rw-r--r--prepareRelease.go21
1 files changed, 4 insertions, 17 deletions
diff --git a/prepareRelease.go b/prepareRelease.go
index b12889f..b669879 100644
--- a/prepareRelease.go
+++ b/prepareRelease.go
@@ -224,7 +224,9 @@ func rePrepareRelease() {
}
}
- me.found.PrintDefaultTB()
+ footer := me.found.PrintDefaultTB()
+ log.Info("me.found len:", me.found.Len())
+ log.Info("PrintTable() footer:", footer)
// todo: verify each found repo is on the master branch
for repo := range me.found.IterAll() {
if repo.CurrentBranchName != repo.MasterBranchName {
@@ -250,28 +252,13 @@ func alreadyDone(repo *gitpb.Repo) bool {
// log.Info("WARNING already done", gopath, repo.GetGoPath())
// log.Info("WARNING already done", gopath, repo.GetGoPath())
if repo.GetGoPath() == gopath {
- log.Info("FOUND. RETURN TRUE. already done", gopath, repo.GetGoPath())
+ log.Info("FOUND. RETURN TRUE. already done", gopath, repo.GetGoPath(), "cur len() = ", me.found.Len())
return true
}
}
return false
}
-/*
-func upgradeReason(repo *gitpb.Repo) string {
- for _, gopath := range me.reason {
- // log.Info("WARNING already done", gopath, repo.GetGoPath())
- // log.Info("WARNING already done", gopath, repo.GetGoPath())
- // log.Info("WARNING already done", gopath, repo.GetGoPath())
- if repo.GetGoPath() == gopath {
- log.Info("FOUND. RETURN TRUE. already done", gopath, repo.GetGoPath())
- return true
- }
- }
- return false
-}
-*/
-
func checkPublishedGodeps(repo *gitpb.Repo) error {
godepsOld, err := repo.GoSumFromPkgDir()
if err != nil {