From 131d6b4178163af89d934eac89de085d2edfd093 Mon Sep 17 00:00:00 2001 From: Jeff Carr Date: Wed, 10 Sep 2025 17:30:33 -0500 Subject: [PATCH] everything must be on the master branch to publish --- prepareRelease.go | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/prepareRelease.go b/prepareRelease.go index f748485..bec6add 100644 --- a/prepareRelease.go +++ b/prepareRelease.go @@ -222,6 +222,13 @@ func rePrepareRelease() { } 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() {