resolveLatestRelease resolves the latest compatible release for a workflow source
(ctx context.Context, repo, currentRef string, allowMajor, verbose bool, coolDown time.Duration)
| 489 | |
| 490 | // resolveLatestRelease resolves the latest compatible release for a workflow source |
| 491 | func resolveLatestRelease(ctx context.Context, repo, currentRef string, allowMajor, verbose bool, coolDown time.Duration) (string, error) { |
| 492 | return resolveLatestReleaseWithDeps(ctx, defaultWorkflowUpdateDeps(), repo, currentRef, allowMajor, verbose, coolDown) |
| 493 | } |
| 494 | |
| 495 | func resolveLatestReleaseWithDeps(ctx context.Context, deps workflowUpdateDeps, repo, currentRef string, allowMajor, verbose bool, coolDown time.Duration) (string, error) { |
| 496 | updateLog.Printf("Resolving latest release for repo %s (current: %s, allowMajor=%v)", repo, currentRef, allowMajor) |
no test coverage detected