22 lines
542 B
Python
22 lines
542 B
Python
#!/usr/bin/env python3
|
|
"""Backward-compatible wrapper for scripts/check-plugin-version-sync.py."""
|
|
|
|
from __future__ import annotations
|
|
|
|
import pathlib
|
|
import runpy
|
|
import sys
|
|
|
|
|
|
REPO_ROOT = pathlib.Path(__file__).resolve().parents[1]
|
|
TARGET = REPO_ROOT / "scripts" / "check-plugin-version-sync.py"
|
|
|
|
|
|
if __name__ == "__main__":
|
|
print(
|
|
"NOTE: scripts/check-relay-version-sync.py is deprecated; "
|
|
"use scripts/check-plugin-version-sync.py.",
|
|
file=sys.stderr,
|
|
)
|
|
runpy.run_path(str(TARGET), run_name="__main__")
|