Move download up and fix hotfix

This commit is contained in:
Willy-JL
2023-06-04 15:40:52 +01:00
parent 14fbc3648e
commit b5aa4afd9f
2 changed files with 10 additions and 10 deletions

View File

@@ -82,6 +82,6 @@ if __name__ == "__main__":
print(f"{req.url = }\n{req.status_code = }\n{req.content = }")
sys.exit(1)
changelog = body.split("## 🚀 Changelog", 1)[1].rsplit("## ❤️ Support", 1)[0]
changelog = body.split("## 🚀 Changelog", 1)[1]
with open(os.environ["ARTIFACT_TGZ"].removesuffix(".tgz") + ".md", "w") as f:
f.write(changelog.strip() + "\n\n")