Skip to content

Commit

Permalink
fix(parser-emoji): ensure issues are sorted by numeric value rather t…
Browse files Browse the repository at this point in the history
…han text sorted
  • Loading branch information
codejedi365 committed Dec 3, 2024
1 parent 3858add commit 7b8d2d9
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/semantic_release/commit_parser/emoji.py
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@
ParsedMessageResult,
ParseResult,
)
from semantic_release.commit_parser.util import parse_paragraphs
from semantic_release.commit_parser.util import sort_numerically, parse_paragraphs
from semantic_release.enums import LevelBump
from semantic_release.errors import InvalidParserOptions

Expand Down Expand Up @@ -186,7 +186,7 @@ def commit_body_components_separator(
predicate.split(","),
)
)
accumulator["linked_issues"] = sorted(
accumulator["linked_issues"] = sort_numerically(
set(accumulator["linked_issues"]).union(new_issue_refs)
)
# TODO: breaking change v10, removes resolution footers from descriptions
Expand Down

0 comments on commit 7b8d2d9

Please sign in to comment.