Merge origin/main: move AGENTS.md → docs/development/agents.md, add CHANGELOG, VERSION, release workflow

Agent-Logs-Url: https://github.com/christianlouis/dmarq/sessions/e58d59de-a79d-48e1-a4fc-ffb61b868593

Co-authored-by: christianlouis <361235+christianlouis@users.noreply.github.com>
This commit is contained in:
copilot-swe-agent[bot]
2026-03-29 10:48:48 +00:00
parent 78fb8a1491
commit ccb447f29b
19 changed files with 833 additions and 731 deletions
+20
View File
@@ -0,0 +1,20 @@
#!/usr/bin/env python3
"""Sync the VERSION file from pyproject.toml after a version bump."""
import re
import sys
from pathlib import Path
root = Path(__file__).resolve().parent.parent
toml_content = (root / "pyproject.toml").read_text()
match = re.search(
r'^\[project\]\s*\n(?:.*\n)*?version\s*=\s*"([^"]+)"',
toml_content,
re.MULTILINE,
)
if match:
version = match.group(1)
(root / "VERSION").write_text(version + "\n")
else:
print("ERROR: Could not find version in pyproject.toml [project] section", file=sys.stderr)
sys.exit(1)