Skip to content

Commit

Permalink
Fix changelog end
Browse files Browse the repository at this point in the history
  • Loading branch information
Willy-JL committed Sep 3, 2024
1 parent c4287bc commit 915a6f6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion indexer/src/models.py
Original file line number Diff line number Diff line change
Expand Up @@ -188,7 +188,7 @@ def get_release_version(self) -> Version:
last_release = next(filter(lambda c: not c.prerelease, releases))
return Version(
version=last_release.title,
changelog=last_release.body.split("## 🚀 Changelog", 1)[-1].strip(),
changelog=last_release.body.split("## 🚀 Changelog", 1)[-1].lstrip(),
timestamp=int(last_release.created_at.timestamp()),
)
except StopIteration:
Expand Down

0 comments on commit 915a6f6

Please sign in to comment.