Fix release post upgrade
Committed 1545c6
--- a/webint_code/__init__.py
+++ b/webint_code/__init__.py
)
project_prefix = f"/code/projects/{project['name']}"
release_version = release_remaining.removesuffix(".tar.gz")
+ commit_log = get_release(project["name"], "HEAD")[1]
web.application("webint_posts").model.create(
"entry",
url=f"{project_prefix}/releases/{release_version}",
"<ul>"
+ "".join(
f"<li>{commit['message'].splitlines()[0]}</li>"
- for commit in get_release(project, "HEAD")[1].values()
+ for commit in commit_log.values()
)
+ "</ul>"
),