Refactor GitHub Actions workflow and add scripts for versioning and release notes extraction

This commit is contained in:
Ujwal223 committed 2026-05-25 22:53:53 +05:45
1 parent 29fe5a8d73
commit 30252ac721
3 files changed
+25 -54

No files matched your search

+8
View File
@@ -0,0 +1,8 @@
from pathlib import Path
import re
text = Path("CHANGELOG.md").read_text(encoding="utf-8")
m = re.search(r"^##\s+FocusGram\s+([0-9]+\.[0-9]+\.[0-9]+)\s*$", text, re.M)
if not m:
raise SystemExit("Could not find a top changelog heading like: ## FocusGram 2.0.0")
print(m.group(1))