helmfile/pkg/helmexec
copilot-swe-agent[bot] 9c1db04e27 Improve semver parsing robustness for versions without 'v' prefix
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>
2025-08-14 13:38:52 +00:00
..
testdata fix: support large output with --enable-live-ouput (#1139) 2023-11-12 06:45:08 +08:00
context.go Drop Helm v2 support (#613) 2023-01-17 09:24:47 +09:00
exec.go Improve semver parsing robustness for versions without 'v' prefix 2025-08-14 13:38:52 +00:00
exec_test.go Improve semver parsing robustness for versions without 'v' prefix 2025-08-14 13:38:52 +00:00
exit_error.go Feat: add --strip-args-values-on-exit-error (#887) 2023-06-07 14:39:38 +08:00
exit_error_test.go Feat: add --strip-args-values-on-exit-error (#887) 2023-06-07 14:39:38 +08:00
helmexec.go feat: add namespace info in syncRelease and diffRelease (#1609) 2024-07-16 09:47:00 +08:00
id.go Print command output in line (#1354) 2020-08-29 14:47:22 +09:00
id_test.go Add unittest for newExecutionID 2022-04-24 13:55:28 +08:00
log.go Fix snapshot tests to pass regardless of helm version (#572) 2022-12-10 10:54:03 +08:00
runner.go feat: update go version and adjust dependencies in Dockerfile and go.mod (#1722) 2024-09-30 09:21:44 -04:00
runner_test.go fix: support large output with --enable-live-ouput (#1139) 2023-11-12 06:45:08 +08:00
semver_test.go Improve semver parsing robustness for versions without 'v' prefix 2025-08-14 13:38:52 +00:00