chore: Automatically readme update deep link on first release

This commit is contained in:
LisoUseInAIKyrios committed 2026-06-29 13:22:08 +03:00
1 parent e21c61d4b0
commit 7b31620f3b
3 files changed
+8 -39

No files matched your search

@@ -212,6 +212,11 @@ expanded = (
)
generated = build_content(expanded=expanded)
# Replace template links if present
readme = readme.replace("https://morphe.software/add-source?github=xyz-user/xyz-patches", f"https://morphe.software/add-source?github={repo_full}")
readme = readme.replace("https://github.com/xyz-user/xyz-patches", f"https://github.com/{repo_full}")
new_readme = re.sub(
rf"{START_PATTERN}.*?{re.escape(END_MARKER)}",
f"{actual_start}\n{generated}\n{END_MARKER}",