diff options
Diffstat (limited to 'scripts/release/repo_release.py')
| -rw-r--r-- | scripts/release/repo_release.py | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/scripts/release/repo_release.py b/scripts/release/repo_release.py index a3c8d03..d50e458 100644 --- a/scripts/release/repo_release.py +++ b/scripts/release/repo_release.py @@ -1,14 +1,14 @@ """ scripts/release/repo_release.py -Run after every `pyinstaller labdaq.spec` build, from anywhere (paths are +Run after every `pyinstaller labui.spec` build, from anywhere (paths are made absolute below before the working directory changes). Packages the -freshly built dist/LabDAQ bundle as a new signed tufup target. +freshly built dist/LabUI bundle as a new signed tufup target. Prerequisites: - repo_init.py has been run once already (./repository and ./keystore exist) - core/version.py has been bumped to the new version - - dist/LabDAQ/ exists (pyinstaller labdaq.spec has just been run) + - dist/LabUI/ exists (pyinstaller labui.spec has just been run) After this completes, see README.md in this directory for how to publish the updated ./repository/metadata and ./repository/targets files to the @@ -21,7 +21,7 @@ from pathlib import Path _THIS_DIR = Path(__file__).resolve().parent _REPO_ROOT = _THIS_DIR.parent.parent -_DIST_DIR = _REPO_ROOT / "dist" / "LabDAQ" +_DIST_DIR = _REPO_ROOT / "dist" / "LabUI" # Import core.version before changing cwd — needs the repo root on sys.path, # which won't be true anymore once we chdir into scripts/release below. @@ -38,7 +38,7 @@ os.chdir(_THIS_DIR) def main(): if not _DIST_DIR.is_dir(): raise SystemExit( - f"{_DIST_DIR} not found — run `pyinstaller labdaq.spec` from the " + f"{_DIST_DIR} not found — run `pyinstaller labui.spec` from the " f"repo root first." ) |
