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())
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())
badExit(errors.New(msg))
return false
@ -219,7 +219,7 @@ func doReleaseFindNext() bool {
if findFix {
fixGodeps(check)
}
if me.forge.FinalGoDepsCheckOk(check) {
if me.forge.FinalGoDepsCheckOk(check, false) {
// the go.sum file is ok to release
return true
}

View File

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

View File

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

View File

@ -119,7 +119,7 @@ func rePrepareRelease() {
// any library version change
if check.GetRepoType() == "binary" || check.GetRepoType() == "plugin" {
// 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())
continue
}