From 915a6f61363b6272801b1e3b9f2be3a9536c4955 Mon Sep 17 00:00:00 2001 From: Willy-JL <49810075+Willy-JL@users.noreply.github.com> Date: Tue, 3 Sep 2024 03:48:03 +0200 Subject: [PATCH] Fix changelog end --- indexer/src/models.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/indexer/src/models.py b/indexer/src/models.py index 2cb6aca..b21111e 100644 --- a/indexer/src/models.py +++ b/indexer/src/models.py @@ -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: