Skip to content

fix: support "latest" as chart version#1000

Merged
mkubaczyk merged 1 commit intomasterfrom
fix/999-latest-version-support
Feb 6, 2026
Merged

fix: support "latest" as chart version#1000
mkubaczyk merged 1 commit intomasterfrom
fix/999-latest-version-support

Conversation

@mkubaczyk
Copy link
Owner

Skip semver constraint validation when version is "latest" since it's not a valid semver string. The helm command already handles "latest" correctly by omitting the --version flag.

Fixes #999

We were actually handling that case for getting chart version https://github.com/mkubaczyk/helmsman/blob/master/internal/app/helm_helpers.go#L46 so it totally makes sense to go same route here.

Skip semver constraint validation when version is "latest" since it's
not a valid semver string. The helm command already handles "latest"
correctly by omitting the --version flag.

Fixes #999
@mkubaczyk mkubaczyk requested a review from luisdavim February 6, 2026 11:38
Copy link
Collaborator

@luisdavim luisdavim left a comment

Choose a reason for hiding this comment

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

LGTM

@mkubaczyk mkubaczyk merged commit 261a9be into master Feb 6, 2026
7 checks passed
@mkubaczyk mkubaczyk deleted the fix/999-latest-version-support branch February 6, 2026 15:20
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Latest as a version doesn't work

2 participants