diff --git a/beacon/api_version.py b/beacon/api_version.py index f1a98e2a..692c6a1d 100644 --- a/beacon/api_version.py +++ b/beacon/api_version.py @@ -14,7 +14,7 @@ ], encoding="utf-8", ).splitlines() -last_line_ref = output_lines[-1].rpartition("/")[-1] +last_line_ref = output_lines[-2].rpartition("/")[-1] with open("beacon/api_version.yml") as api_version_file: api_version = yaml.safe_load(api_version_file)