diff --git a/scripts/update_version.py b/scripts/update_version.py index 1ddbfb5..451ec14 100644 --- a/scripts/update_version.py +++ b/scripts/update_version.py @@ -9,9 +9,8 @@ def main(): latest = get_latest_release_version("clangd/clangd") - script_path = Path(__file__).relative_to(os.getcwd()) with open("modules/version.py", "w") as f: - f.write(f"""# This file is auto-generated by {script_path} + f.write(f"""# This file is auto-generated by {__file__} CLANGD_VERSION = {latest} """)