Skip to content

Commit

Permalink
Use most tolerant semversion parsing
Browse files Browse the repository at this point in the history
  • Loading branch information
tboby committed Oct 24, 2024
1 parent fb08bff commit f1ac912
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Library.fs
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,7 @@ type ChangelogExtensions =
static member Unwrapped(sections: ChangelogSectionCollection) =
sections
|> Seq.choose (fun section ->
match SemVersion.TryParse section.MarkdownVersion with
match SemVersion.TryParse(section.MarkdownVersion, SemVersionStyles.Any) with
| false, _ -> None
| true, version ->
Some
Expand Down

0 comments on commit f1ac912

Please sign in to comment.