Files
dzgui/scripts/copy_changelog.py
T
2026-11-09 11:03:50 +09:00

13 lines
243 B
Python

import shutil
import subprocess
from shared import get_git_root
root = get_git_root()
clog = root.joinpath("CHANGELOG.md")
target = root.joinpath("dzgui/data/CHANGELOG.md")
shutil.copy(clog, target)
subprocess.call(["git", "add", target])