the-custodian/docs/changes/netkingdom-target-2026-10-18/receive-scanner-batch-r1/publish_source.py

13 lines
636 B
Python

"""Apply reviewed source and use the ordinary owner publication workflow."""
from pathlib import Path
import subprocess
import sys
HERE=Path(__file__).resolve().parent
REPO=HERE.parents[3]
for argv in [
[sys.executable,str(HERE/'apply_owner.py')],
[sys.executable,str(REPO/'docs/changes/netkingdom-target-2026-10-17/native-source-publication-r2/publish_owner.py'),str(HERE/'publication-inputs.json'),'commit'],
[sys.executable,str(REPO/'docs/changes/netkingdom-target-2026-10-17/native-source-publication-r2/publish_owner.py'),str(HERE/'publication-inputs.json'),'sync'],
]:
subprocess.run(argv,check=True,timeout=600)