Skip to content

Commit bcbc5e7

Browse files
committed
fix: cd script issue
1 parent bc3f8f8 commit bcbc5e7

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

scripts/publish_packages.py

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -106,7 +106,6 @@ def publish_package(package: str, version: str) -> None:
106106
for package_dir in package_build_order():
107107
package = package_dir.name
108108
with ChangeDir(str(package_dir)):
109-
version_path = package_dir.joinpath("VERSION")
110-
with open(version_path, "r") as f:
109+
with open("VERSION", "r") as f:
111110
version = f.read().strip()
112111
publish_package(package, version)

0 commit comments

Comments
 (0)