quiet output
This commit is contained in:
parent
5a745337fb
commit
9431656ae8
|
@ -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
|
||||
}
|
||||
|
|
|
@ -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
|
||||
}
|
||||
|
|
2
http.go
2
http.go
|
@ -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.")
|
||||
|
|
|
@ -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
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue