summaryrefslogtreecommitdiff
path: root/doRelease.go
diff options
context:
space:
mode:
Diffstat (limited to 'doRelease.go')
-rw-r--r--doRelease.go49
1 files changed, 1 insertions, 48 deletions
diff --git a/doRelease.go b/doRelease.go
index 9c8f910..7bf8a16 100644
--- a/doRelease.go
+++ b/doRelease.go
@@ -185,27 +185,13 @@ func doRelease() error {
badExit(errors.New(msg))
}
+ me.current.Reload()
me.forge.SetConfigSave(true)
me.forge.ConfigSave()
log.Info("sleep 2")
time.Sleep(2 * time.Second)
printDone()
- /*
- // run this each time something gets published successfully
-
- // attempt to find another repo to release
- if !doReleaseFindNext() {
- log.Info("doReleaseFindNext() could not find a new", findCounter)
- log.Info("THIS PROBABLY MEANS THAT ACTUALLY WE ARE TOTALLY DONE?", findCounter)
- count := me.forge.PrintReleaseReport(me.found)
- log.Info("count =", count)
- os.Setenv("FindNextDone", "true")
- printDone()
- return false
- }
- printDone()
- */
rePrepareRelease()
findNext()
if me.current == nil {
@@ -218,39 +204,6 @@ func doRelease() error {
return nil
}
-/*
-// try to figure out if there is another package to update
-// returns true if it finds something
-func doReleaseFindNext() bool {
- // scan for new repo
- if findNext() {
- log.Info("findNext() found something")
- } else {
- // this means findNext() didn't find anything but there are
- // still packages to release. start trying to fix the go.sum files
- if findCounter != 0 {
- findFix = true
- }
- log.Info("findNext() could not find anything")
- return false
- }
- check := me.forge.FindByGoPath(me.current.GetGoPath())
- if check == nil {
- log.Info("boo, you didn't git clone", me.current.GetGoPath())
- return false
- }
- // took this out 2025-01-20. things were working perfectly before this
- // if findFix {
- // fixGodeps(check)
- // }
- if err := me.forge.FinalGoDepsCheckOk(check, false); err == nil {
- // the go.sum file is ok to release
- return true
- }
- return false
-}
-*/
-
// this pulls the new tag from the golang package repository
// to insert the new version
func doPublishVersion() bool {