Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix: using helm version --short resulting in an invalid semantic versioning #474

Merged
merged 1 commit into from Sep 26, 2022

Conversation

tisutisu
Copy link
Contributor

@tisutisu tisutisu commented Sep 19, 2022

Signed-off-by: Sushanta Das sushanta.das.ju@gmail.com

What this PR does / why we need it:

On using helm version --short resulting in invalid sematic version if the version includes a build part in the version string.
Instead we can use the helm version --template {{ .Version }} to get the helm version. Please see the issue for more information about the problem.

Which issue this PR fixes (optional, in fixes #<issue number>(, fixes #<issue_number>, ...) format, will close that issue when PR gets merged): fixes #

fixes #467

Signed-off-by: Sushanta Das <sushanta.das.ju@gmail.com>
@tisutisu tisutisu changed the title fixes #467 : helm version --short resulting in an invalid semantic versioning fixes #467 : using helm version --short resulting in an invalid semantic versioning Sep 19, 2022
@tisutisu tisutisu changed the title fixes #467 : using helm version --short resulting in an invalid semantic versioning fix: using helm version --short resulting in an invalid semantic versioning Sep 19, 2022
Copy link

@sabre1041 sabre1041 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

Copy link
Member

@cpanato cpanato left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

thank you!

@cpanato cpanato merged commit 76b2ef0 into helm:main Sep 26, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Helm version verification fails when using RedHat's Helm build
3 participants