summaryrefslogtreecommitdiff
path: root/prepareRelease.go
diff options
context:
space:
mode:
authorJeff Carr <[email protected]>2024-12-17 21:58:14 -0600
committerJeff Carr <[email protected]>2024-12-17 21:58:14 -0600
commit79ea2eaec1e308276a2ebc6da9872bd21bee191c (patch)
tree1293f18e7444c66302768659141d145e412bcc8d /prepareRelease.go
parent491c4455d8e3df13d9ef1ce52751cc35292ad337 (diff)
more and more and morev0.23.6
Diffstat (limited to 'prepareRelease.go')
-rw-r--r--prepareRelease.go8
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)
}
}