#!/usr/bin/env python3 """Deprecated shim — superseded by ci/publish.py (emmett#44, cluster#192). Kept so any stale reference keeps working. Forwards to publish.py with the same arch arg and forces a real push (PUBLISH=1), matching the old always-push behaviour. New callers should use ci/publish.py (dry-run by default) or the `nix run .#publish-amd64` flake app. """ import os import subprocess import sys here = os.path.dirname(os.path.abspath(__file__)) env = dict(os.environ, PUBLISH="1") sys.exit( subprocess.run( [sys.executable, os.path.join(here, "publish.py"), *sys.argv[1:]], env=env ).returncode )