refactor: read input paths from core.paths

This commit is contained in:
Abdessamad Derraz committed 2026-11-21 06:04:08 +01:00
1 parent 9f9fe2bfec
commit 49a8ed801e
10 files changed
+30 -25

No files matched your search

+2 -1
View File
@@ -32,6 +32,7 @@ from pathlib import Path
from model import releaserecord
from core.cli import require_directory
from core.paths import PLATFORMS_DIR
from core.artifacts import write_text_atomic
from release.notes import (
changelog_url,
@@ -49,7 +50,7 @@ def main() -> int:
help="release record (default: %(default)s)")
parser.add_argument("--whats-new", required=True, type=Path,
help="what changed since the previous release, written by hand")
parser.add_argument("--platforms-dir", default="platforms",
parser.add_argument("--platforms-dir", default=PLATFORMS_DIR,
help="registry read for each pack's extract folder (default: %(default)s)")
parser.add_argument("--thanks", type=Path,
help="checked Thanks lines to print instead of the ones gh gives")