diff options
Diffstat (limited to 'prepareRelease.go')
| -rw-r--r-- | prepareRelease.go | 8 |
1 files changed, 6 insertions, 2 deletions
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) } } |
