diff options
| author | Jeff Carr <[email protected]> | 2025-01-28 11:36:06 -0600 |
|---|---|---|
| committer | Jeff Carr <[email protected]> | 2025-01-28 11:36:06 -0600 |
| commit | 2d118d3ae7399c435f8327c8fcee8240824d8edd (patch) | |
| tree | f7c0dc79c127408e3b9334aa4eae58a6934ac1cd /main.go | |
| parent | 0ec680f2c3264d7121bb60a298e2c495a9709d4f (diff) | |
Diffstat (limited to 'main.go')
| -rw-r--r-- | main.go | 14 |
1 files changed, 12 insertions, 2 deletions
@@ -119,8 +119,18 @@ func main() { } me.Enable() - // set all branches to master & findNext() - makePrepareRelease() + // run this each time something gets published successfully + rePrepareRelease() + + if findNext() { + log.Info("prepare release findNext() returned true") + } else { + // check if nothing is found an exit? + if me.found.Len() == 0 { + log.Info("nothing found to publish") + os.Exit(0) + } + } // intermittently scans the status indefinitly me.repos.View.Watchdog(func() { |
