From 0bc744b56b08395d9d1613e98ef130cef3d526a9 Mon Sep 17 00:00:00 2001 From: Lucas Alber Date: Sat, 4 May 2024 19:27:47 +0200 Subject: [PATCH] Fix version update action (#28) --- scripts/update_version.py | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) 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} """)