From 79ea2eaec1e308276a2ebc6da9872bd21bee191c Mon Sep 17 00:00:00 2001 From: Jeff Carr Date: Tue, 17 Dec 2024 21:58:14 -0600 Subject: more and more and more --- prepareRelease.go | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) (limited to 'prepareRelease.go') diff --git a/prepareRelease.go b/prepareRelease.go index 043597b..050af38 100644 --- a/prepareRelease.go +++ b/prepareRelease.go @@ -14,7 +14,7 @@ func makePrepareRelease() { // if it succeeds, disable this button me.setBranchesToMasterB.Disable() me.release.box.Enable() - me.forge.PrintReleaseReport() + me.forge.PrintReleaseReport(me.found) } else { log.Info("setAllBranchesToMaster() failed") } @@ -25,7 +25,8 @@ func makePrepareRelease() { check := all.Next() // set the target version to the current master version - check.SetTargetVersion("") + lastTag := check.GetLastTag() + check.SetTargetVersion(lastTag) } all = me.forge.Repos.SortByFullPath() @@ -41,12 +42,14 @@ func makePrepareRelease() { lastTag := check.GetLastTag() if master != lastTag { forceReleaseVersion(check) + me.found.AppendUniqueGoPath(check) continue } if argv.Protobuf && check.GetRepoType() == "protobuf" { // if --protobuf, this will force upgrade each one forceReleaseVersion(check) + me.found.AppendUniqueGoPath(check) continue } @@ -60,6 +63,7 @@ func makePrepareRelease() { } log.Printf("dependancy checks indicate a new release is needed for %s\n", check.GetGoPath()) forceReleaseVersion(check) + me.found.AppendUniqueGoPath(check) } } -- cgit v1.2.3