From 8299f02ed71acc81c44119cf91f04f9364fed522 Mon Sep 17 00:00:00 2001 From: Alexander01998 Date: Fri, 17 Jan 2025 11:27:17 +0100 Subject: [PATCH] Fix update URL being generated from the wrong post --- _scripts/announce_wurst_backport.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/_scripts/announce_wurst_backport.py b/_scripts/announce_wurst_backport.py index 4c49f019..69295497 100644 --- a/_scripts/announce_wurst_backport.py +++ b/_scripts/announce_wurst_backport.py @@ -76,7 +76,7 @@ def main(wurst_version: str, mc_version: str, dry_run: bool = False): content = announcement_template.format( wurst_version=wurst_version, mc_version=mc_version, - update_url=f"{post.get_update_url()}?mc={mc_version}", + update_url=f"{current_update.get_update_url()}?mc={mc_version}", changelogs="\n\n".join(changelogs), ) announcement = WurstForumDiscussion(title, list(tags.values()), content)