force binary and plugin packages to update
This commit is contained in:
parent
5f196513df
commit
7bfd240649
|
@ -49,26 +49,25 @@ func makePrepareRelease() {
|
||||||
continue
|
continue
|
||||||
}
|
}
|
||||||
|
|
||||||
// if the repo is a go binary, try forcing new go.* files
|
// if the repo is a go binary or plugin for a new release for
|
||||||
if check.RepoType() != "binary" {
|
// any library version change
|
||||||
// master and lasttag match and it's not a binary. everything is fine
|
if check.RepoType() == "binary" || check.RepoType() == "plugin" {
|
||||||
continue
|
// check if the package dependancies changed, if so, re-publish
|
||||||
}
|
if me.forge.FinalGoDepsCheckOk(check) {
|
||||||
// check if the package dependancies changed, if so, re-publish
|
log.Printf("go.sum is perfect! %s\n", check.GetGoPath())
|
||||||
if me.forge.FinalGoDepsCheckOk(check) {
|
continue
|
||||||
log.Printf("go.sum is perfect! %s\n", check.GetGoPath())
|
}
|
||||||
continue
|
log.Printf("dependancy checks indicate a new release is needed for %s\n", check.GetGoPath())
|
||||||
}
|
// if v1.2.3 change to v.1.2.4
|
||||||
log.Printf("dependancy checks indicate a new release is needed for %s\n", check.GetGoPath())
|
check.IncrementTargetRevision()
|
||||||
// if v1.2.3 change to v.1.2.4
|
// run go-mod-clean in each repo that needs to be updated
|
||||||
check.IncrementTargetRevision()
|
if master == lastTag {
|
||||||
// run go-mod-clean in each repo that needs to be updated
|
// 'git notes' has something in it. clear it out
|
||||||
if master == lastTag {
|
check.Run([]string{"git", "notes", "remove"})
|
||||||
// 'git notes' has something in it. clear it out
|
}
|
||||||
check.Run([]string{"git", "notes", "remove"})
|
if !runGoClean(check) {
|
||||||
}
|
log.Info("go-mod-clean probably failed here. that's ok", check.GoPath)
|
||||||
if !runGoClean(check) {
|
}
|
||||||
log.Info("go-mod-clean probably failed here. that's ok", check.GoPath)
|
|
||||||
}
|
}
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue