diff options
| author | Jeff Carr <[email protected]> | 2024-12-14 23:22:34 -0600 |
|---|---|---|
| committer | Jeff Carr <[email protected]> | 2024-12-14 23:22:34 -0600 |
| commit | 5f196513dffbc05b780b05ab3957ac8434756e26 (patch) | |
| tree | e6cc2377ffac9d2faac7a5c51e86eb482efbe160 /prepareRelease.go | |
| parent | 47085c837ed1c0f445d3805b9f8ce23b6d3c8b76 (diff) | |
maybe don't redo those go.* files anymore herev0.22.39
Diffstat (limited to 'prepareRelease.go')
| -rw-r--r-- | prepareRelease.go | 29 |
1 files changed, 1 insertions, 28 deletions
diff --git a/prepareRelease.go b/prepareRelease.go index 70d829b..fc6a06e 100644 --- a/prepareRelease.go +++ b/prepareRelease.go @@ -29,33 +29,6 @@ func makePrepareRelease() { check.SetTargetVersion(curver) } - // run go-mod-clean on everything not readonly - all = me.forge.Repos.SortByGoPath() - for all.Scan() { - check := all.Next() - - if me.forge.Config.IsReadOnly(check.GoPath) { - // can't release readonly repos - continue - } - - if ok, err := check.IsPrimitive(); !ok { - log.Info("something wrong with", check.GoPath, err) - // no go.sum file for these - continue - } - - if check.Exists("go.sum") { - // probably already ran - continue - } - - // run go-mod-clean on every repo to start - if !runGoClean(check) { - log.Info("go-mod-clean FAILED. THIS IS BAD.", check.GoPath) - } - } - all = me.forge.Repos.SortByGoPath() for all.Scan() { check := all.Next() @@ -95,7 +68,7 @@ func makePrepareRelease() { check.Run([]string{"git", "notes", "remove"}) } if !runGoClean(check) { - log.Info("go-mod-clean FAILED. THIS IS BAD.", check.GoPath) + log.Info("go-mod-clean probably failed here. that's ok", check.GoPath) } } |
