force binary and plugin packages to update
This commit is contained in:
parent
5f196513df
commit
7bfd240649
|
@ -49,11 +49,9 @@ func makePrepareRelease() {
|
|||
continue
|
||||
}
|
||||
|
||||
// if the repo is a go binary, try forcing new go.* files
|
||||
if check.RepoType() != "binary" {
|
||||
// master and lasttag match and it's not a binary. everything is fine
|
||||
continue
|
||||
}
|
||||
// if the repo is a go binary or plugin for a new release for
|
||||
// any library version change
|
||||
if check.RepoType() == "binary" || check.RepoType() == "plugin" {
|
||||
// check if the package dependancies changed, if so, re-publish
|
||||
if me.forge.FinalGoDepsCheckOk(check) {
|
||||
log.Printf("go.sum is perfect! %s\n", check.GetGoPath())
|
||||
|
@ -70,6 +68,7 @@ func makePrepareRelease() {
|
|||
if !runGoClean(check) {
|
||||
log.Info("go-mod-clean probably failed here. that's ok", check.GoPath)
|
||||
}
|
||||
}
|
||||
|
||||
}
|
||||
if findNext() {
|
||||
|
|
Loading…
Reference in New Issue