Prepare for release Pt. 1

This commit is contained in:
ClaraCrazy
2023-05-28 02:00:21 +02:00
parent 781ddbbada
commit 949906039d
3 changed files with 11 additions and 13 deletions

View File

@@ -58,11 +58,6 @@ if __name__ == "__main__":
hotfix = f"- `{hotfix_time}`: {hotfix_desc}\n"
body = release["body"]
body = re.sub(
r"(https://lab\.flipper\.net/\?url=).*?(&channel=XFW-Updater&version=)[A-Za-z0-9_-]+",
r"\1" + os.environ['ARTIFACT_WEB'] + r"\2" + os.environ['VERSION_TAG'],
body
)
body = re.sub(
r"(https://github\.com/ClaraCrazy/Flipper-Xtreme/releases/download/[A-Za-z0-9_-]+?/)[A-Za-z0-9_-]+",
r"\1" + os.environ['VERSION_TAG'],