use go-mod-clean
This commit is contained in:
parent
da4f5402b3
commit
02bce38b78
|
@ -203,7 +203,9 @@ func doPublishVersion() bool {
|
|||
if !shell.Exists(testf) {
|
||||
pb := me.forge.Repos.FindByGoPath("go.wit.com/apps/guireleaser")
|
||||
if pb != nil {
|
||||
pb.RedoGoMod() // hack for reset on guireleaser while publishing
|
||||
if err := pb.RunStrict([]string{"go-mod-clean"}); err != nil {
|
||||
log.Info("go-mod-clean failed", err)
|
||||
}
|
||||
}
|
||||
if !shell.Exists(testf) {
|
||||
log.Info("go.sum missing", testf)
|
||||
|
|
Loading…
Reference in New Issue