- Modified parseHelmVersion function to handle version strings that don't have a "v" prefix - Added fallback parsing logic that tries direct semver.NewVersion when chartify.FindSemVerInfo fails - Added additional fallback that adds "v" prefix if needed - Added comprehensive test cases for version strings without "v" prefix - Updated test comparison logic to use semantic version equality instead of structural equality - All existing functionality remains unchanged and backward compatible 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 | ||