everything must be on the master branch to publish
This commit is contained in:
parent
c0d131a659
commit
131d6b4178
|
@ -222,6 +222,13 @@ func rePrepareRelease() {
|
||||||
|
|
||||||
}
|
}
|
||||||
me.forge.PrintHumanTable(me.found)
|
me.forge.PrintHumanTable(me.found)
|
||||||
|
// todo: verify each found repo is on the master branch
|
||||||
|
for repo := range me.found.IterAll() {
|
||||||
|
if repo.CurrentBranchName != repo.MasterBranchName {
|
||||||
|
log.Info("repo not on master branch", repo.FullPath)
|
||||||
|
os.Exit(-1)
|
||||||
|
}
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
func printDone() {
|
func printDone() {
|
||||||
|
|
Loading…
Reference in New Issue