Skip to content

Commit

Permalink
Make the + in the semver regex optional (#463)
Browse files Browse the repository at this point in the history
  • Loading branch information
Andrew Suderman authored Aug 10, 2021
1 parent 87c2f0e commit 18af037
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion reckoner/helm/client.py
Original file line number Diff line number Diff line change
Expand Up @@ -236,7 +236,7 @@ class HelmVersionException(Exception):


class Helm3Client(HelmClient):
version_regex = re.compile(r'v([0-9\.]+)([\-,\+][a-zA-Z]+)(\+g[0-9a-f]+)?')
version_regex = re.compile(r'v([0-9\.]+)([\-,\+][a-zA-Z]+)?(\+g[0-9a-f]+)?')
global_helm_flags = ['debug', 'home', 'host', 'kube-context', 'kubeconfig']

@property
Expand Down

0 comments on commit 18af037

Please sign in to comment.