Skip to content

Commit 7e5ff21

Browse files
authored
chore: fix update version script (#286)
1 parent 4489935 commit 7e5ff21

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

scripts/update_version.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -45,7 +45,7 @@ def update_version(
4545
timestamp: datetime = datetime.now(),
4646
version: Version | None = None,
4747
):
48-
lock_path = Path(_version_txt_path.name + ".lock")
48+
lock_path = _version_txt_path.parent / (_version_txt_path.name + ".lock")
4949
lock = FileLock(lock_path)
5050
with lock:
5151
previous = Version(_version_txt_path.read_text().strip())

0 commit comments

Comments
 (0)