Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
tiltfile/helm: handle parsing version strings without
v
prefix
`helm version` doesn't necessarily return a string with `v` in the prefix, as it depends how it's packaged and bundles. For instance when running helm with pkgx.sh: ``` $ pkgx helm version --client --short 3.15.2 ``` (due to https://github.com/pkgxdev/pantry/blob/main/projects/helm.sh/package.yml#L22) Without this change, tilt fails to parse the version with error: ``` Error in helm: could not parse Helm version from string: "3.15.2\n" ``` This fixes that. Signed-off-by: Antoine Grondin <antoinegrondin@gmail.com>
- Loading branch information