mirror of
https://github.com/aclist/dztui.git
synced 2026-11-11 04:20:39 +01:00
change: parse repository root
This commit is contained in:
1 parent
370edbe01b
commit
2479cbd41b
7 files changed
+27
-19
No files matched your search
@@ -1,10 +1,11 @@
|
||||
import shutil
|
||||
import subprocess
|
||||
from pathlib import Path
|
||||
|
||||
par = Path(__file__).parent.parent
|
||||
clog = par / "CHANGELOG.md"
|
||||
target = par / "dzgui/data/CHANGELOG.md"
|
||||
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)
|
||||
|
||||
|
||||
Reference in new issue
Block a user