summaryrefslogtreecommitdiff
path: root/main.go
diff options
context:
space:
mode:
authorJeff Carr <[email protected]>2025-10-22 12:19:43 -0500
committerJeff Carr <[email protected]>2025-10-22 12:19:43 -0500
commite0335f1f3d682531e20c87d488d51e7d522de9e3 (patch)
treed19390811e4c700e6f3cfc5147b323e9fcb45b5b /main.go
parent8c7c8f0a7eda912a4ae6e3aae8801f5abb6a296b (diff)
more attempts to fix this
Diffstat (limited to 'main.go')
-rw-r--r--main.go12
1 files changed, 10 insertions, 2 deletions
diff --git a/main.go b/main.go
index 5427803..5a7c184 100644
--- a/main.go
+++ b/main.go
@@ -28,9 +28,15 @@ func main() {
me.forge, _ = forgepb.Init()
me.found = new(gitpb.Repos)
+ for repo := range me.forge.Repos.IterAll() {
+ if repo.TargetVersion != "" {
+ log.Info("erasing target version", repo.TargetVersion, repo.FullPath)
+ }
+ }
+ me.forge.Save()
+
fhelp.CheckGoModCleanExit()
- // me.forge.ConfigPrintTable()
os.Setenv("REPO_WORK_PATH", ENV.Get("gopath"))
// save the ENV var here
@@ -93,7 +99,9 @@ func main() {
}
if _, count, _, err := me.forge.IsEverythingOnMaster(); err != nil {
- log.Info("not everything is on the master branch (", count, "repos)")
+ log.Info("")
+ log.Info("not everything is on the master branch (", count, "repos) (--force to skip)")
+ log.Info("")
if argv.Quick != nil {
// quick also means ignore the master branch check
argv.Force = true