Merge pull request #479 from sched-ext/htejun/version-tool

version-tool: Suppress spurious dependency version mismatch warning
This commit is contained in:
Tejun Heo 2024-08-08 14:08:46 -10:00 committed by GitHub
commit c2e169dddc
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -50,7 +50,7 @@ def do_meson_ver(new_ver):
with open(path, 'w') as f:
f.writelines(lines)
return new_ver
return ver
def get_rust_paths():
result = subprocess.run(['git', 'ls-files'], stdout=subprocess.PIPE)
@ -108,7 +108,7 @@ def do_rust_ver(path, new_ver):
with open(path, 'w') as f:
f.writelines(lines)
return new_ver
return ver
def do_rust_deps(path, deps, new_deps):
with open(path, 'r') as f: