Skip to content

Commit

Permalink
Fix update URL being generated from the wrong post
Browse files Browse the repository at this point in the history
  • Loading branch information
Alexander01998 committed Jan 17, 2025
1 parent c74f03d commit 8299f02
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion _scripts/announce_wurst_backport.py
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down

0 comments on commit 8299f02

Please sign in to comment.