Skip to content

Commit

Permalink
fix sort rk.preffix (#28)
Browse files Browse the repository at this point in the history
  • Loading branch information
enzoLorenzo authored Nov 27, 2024
1 parent 85899d4 commit e35c465
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion valhalla/version/version_to_release.py
Original file line number Diff line number Diff line change
Expand Up @@ -65,7 +65,7 @@ def get_version_to_release_from_str(value: str, release_kinds: List[ReleaseKind]
)

# first we search for specific release kinds
for release_kind in release_kinds:
for release_kind in release_kinds_sorted:
if release_kind.suffix != "":
prefix = __get_branch_prefix(release_kind)
if value.startswith(prefix):
Expand Down

0 comments on commit e35c465

Please sign in to comment.