Replace chartify.FindSemVerInfo with enhanced findSemVerInfo function that handles versions with or without 'v' prefix. This addresses the "unable to find semver info in 5.7.1" error by ensuring consistent version parsing regardless of input format. - Add findSemVerInfo function with flexible regex pattern - Update parseHelmVersion to use enhanced version parsing - Add comprehensive test cases for various version formats including issue #2124 scenarios - Remove unused chartify import from helmexec package Co-authored-by: yxxhero <11087727+yxxhero@users.noreply.github.com> |
||
|---|---|---|
| .. | ||
| testdata | ||
| context.go | ||
| exec.go | ||
| exec_test.go | ||
| exit_error.go | ||
| exit_error_test.go | ||
| helmexec.go | ||
| id.go | ||
| id_test.go | ||
| log.go | ||
| runner.go | ||
| runner_test.go | ||
| semver_test.go | ||