diff options
| author | Jeff Carr <[email protected]> | 2025-02-15 18:58:56 -0600 |
|---|---|---|
| committer | Jeff Carr <[email protected]> | 2025-02-15 18:58:56 -0600 |
| commit | eb57f644f744c7ff437259c13f2e87c63cb875ca (patch) | |
| tree | caca7a88b0ce9ab768a2bb4a3c44863a0a93a78c | |
| parent | 93b659020b6228d8ce587b0ea15e145ca73f4632 (diff) | |
rm old codev0.23.51
| -rw-r--r-- | prepareRelease.go | 30 |
1 files changed, 0 insertions, 30 deletions
diff --git a/prepareRelease.go b/prepareRelease.go index 2bd6652..7cca420 100644 --- a/prepareRelease.go +++ b/prepareRelease.go @@ -156,31 +156,6 @@ func rePrepareRelease() { // actually identical. do nothing continue } - /* this was wrong because the gitpb logic was bad - if b1 == 0 && b2 == 1 { - if ok, err := me.forge.ValidGoVersion(master); ok { - log.Info("GO version valid", check.GetGoPath(), master, lastTag) - } else { - log.Info("GO version invalid", check.GetGoPath(), master, lastTag, err) - forceReleaseVersion(check) - me.found.AppendByGoPath(check) - continue - } - // if check.GetGoPath() == "go.wit.com/log" { - log.Printf("edge case. don't retag. git log --oneline %s..%s\n", master, lastTag) - log.Printf("edge case. don't retag. git log --oneline %s..%s\n", lastTag, master) - log.Info("edge case. don't retag.", check.GetGoPath(), b1, b2) - log.Info("edge case. don't retag.", check.GetGoPath(), oldlhash, newmhash) - // } - // actually identical. do nothing - continue - } - if check.GetGoPath() == "go.wit.com/log" { - log.Info("got to log", b1, b2) - log.Info("got to log", oldlhash, newmhash) - os.Exit(-1) - } - */ if gitpb.IsGoTagVersionGreater(lastTag, master) { // this function is not right really. the hash error above should catch it correctly // log.Printf("PROBABLY NOT NEE %-50s tag %s < %s\n", check.GetGoPath(), lastTag, master) @@ -212,11 +187,6 @@ func rePrepareRelease() { continue } - if check.GetGoPath() == "go.wit.com/log" { - log.Info("got to log") - os.Exit(-1) - } - // if the repo is a go binary or plugin for a new release for // any library version change // if check.GetRepoType() == "binary" || check.GetRepoType() == "plugin" { |
