Skip to content

Commit

Permalink
Fix: Pass version to string function (#679)
Browse files Browse the repository at this point in the history
  • Loading branch information
y0urself authored Mar 14, 2023
1 parent ee2e709 commit f94287d
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion pontos/release/release.py
Original file line number Diff line number Diff line change
Expand Up @@ -231,7 +231,8 @@ async def run(
return ReleaseReturnValue.UPDATE_VERSION_ERROR

last_release_version = get_last_release_version(
self.git_tag_prefix,
calculator.version_from_string,
git_tag_prefix=self.git_tag_prefix,
ignore_pre_releases=not release_version.is_pre_release,
)

Expand Down

0 comments on commit f94287d

Please sign in to comment.