quiet output

This commit is contained in:
Jeff Carr 2025-01-17 05:30:24 -06:00
parent 5a745337fb
commit 9431656ae8
4 changed files with 5 additions and 5 deletions

View File

@ -50,7 +50,7 @@ func doRelease() bool {
log.Info("boo, you didn't git clone", me.current.GetGoPath()) log.Info("boo, you didn't git clone", me.current.GetGoPath())
return false return false
} }
if !me.forge.FinalGoDepsCheckOk(check) { if !me.forge.FinalGoDepsCheckOk(check, true) {
msg := fmt.Sprint("the go.mod file is wrong. fix it here?", check.GetGoPath()) msg := fmt.Sprint("the go.mod file is wrong. fix it here?", check.GetGoPath())
badExit(errors.New(msg)) badExit(errors.New(msg))
return false return false
@ -219,7 +219,7 @@ func doReleaseFindNext() bool {
if findFix { if findFix {
fixGodeps(check) fixGodeps(check)
} }
if me.forge.FinalGoDepsCheckOk(check) { if me.forge.FinalGoDepsCheckOk(check, false) {
// the go.sum file is ok to release // the go.sum file is ok to release
return true return true
} }

View File

@ -51,7 +51,7 @@ func findNext() bool {
if !check.ParseGoSum() { if !check.ParseGoSum() {
continue continue
} }
if me.forge.FinalGoDepsCheckOk(check) { if me.forge.FinalGoDepsCheckOk(check, false) {
setCurrentRepo(check, "should be good to release", "pretty sure") setCurrentRepo(check, "should be good to release", "pretty sure")
return true return true
} }

View File

@ -121,7 +121,7 @@ func testGoRepo(check *gitpb.Repo) {
data, _ := os.ReadFile(filepath.Join(check.FullPath, "go.mod")) data, _ := os.ReadFile(filepath.Join(check.FullPath, "go.mod"))
log.Info(string(data)) log.Info(string(data))
if me.forge.FinalGoDepsCheckOk(check) { if me.forge.FinalGoDepsCheckOk(check, true) {
log.Info("forge.FinalGoDepsCheck(check) worked!") log.Info("forge.FinalGoDepsCheck(check) worked!")
} else { } else {
log.Info("forge.FinalGoDepsCheck(check) failed. boo.") log.Info("forge.FinalGoDepsCheck(check) failed. boo.")

View File

@ -119,7 +119,7 @@ func rePrepareRelease() {
// any library version change // any library version change
if check.GetRepoType() == "binary" || check.GetRepoType() == "plugin" { if check.GetRepoType() == "binary" || check.GetRepoType() == "plugin" {
// check if the package dependancies changed, if so, re-publish // check if the package dependancies changed, if so, re-publish
if me.forge.FinalGoDepsCheckOk(check) { if me.forge.FinalGoDepsCheckOk(check, false) {
log.Printf("go.sum is perfect! %s\n", check.GetGoPath()) log.Printf("go.sum is perfect! %s\n", check.GetGoPath())
continue continue
} }