We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 4489935 commit 7e5ff21Copy full SHA for 7e5ff21
1 file changed
scripts/update_version.py
@@ -45,7 +45,7 @@ def update_version(
45
timestamp: datetime = datetime.now(),
46
version: Version | None = None,
47
):
48
- lock_path = Path(_version_txt_path.name + ".lock")
+ lock_path = _version_txt_path.parent / (_version_txt_path.name + ".lock")
49
lock = FileLock(lock_path)
50
with lock:
51
previous = Version(_version_txt_path.read_text().strip())
0 commit comments