Skip to content

Commit 77f1320

Browse files
committed
build: correct publish script
1 parent 14a120a commit 77f1320

File tree

1 file changed

+0
-4
lines changed

1 file changed

+0
-4
lines changed

scripts/publish.py

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -45,10 +45,6 @@ def main() -> None:
4545
run("npx vsce publish", f"npx vsce publish -i {vsix_path}", shell=True, timeout=600)
4646
run("npx ovsx publish", f"npx ovsx publish {vsix_path}", shell=True, timeout=600)
4747

48-
packages = [f"{path}" for path in Path("./packages").iterdir() if (path / "pyproject.toml").exists()]
49-
for package in packages:
50-
run(f"hatch -e build build {dist_path}", shell=True, cwd=package)
51-
5248
run(
5349
"hatch publish",
5450
f'hatch -e build publish -u "{os.environ["PYPI_USERNAME"]}" -a "{os.environ["PYPI_PASSWORD"]}"',

0 commit comments

Comments
 (0)