Skip to content

Commit

Permalink
Fix version update action
Browse files Browse the repository at this point in the history
  • Loading branch information
LDAP authored May 4, 2024
1 parent 894458c commit 0ffb76f
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions scripts/update_version.py
Original file line number Diff line number Diff line change
Expand Up @@ -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}
""")
Expand Down

0 comments on commit 0ffb76f

Please sign in to comment.