Skip to content

Commit f4f72e9

Browse files
committed
move python package build to package script
1 parent 4b1bf5a commit f4f72e9

File tree

2 files changed

+8
-1
lines changed

2 files changed

+8
-1
lines changed

scripts/package.py

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -39,6 +39,14 @@ def main() -> None:
3939
["npx", "vsce", "package", *(["--pre-release"] if pre_release else []), "-o", "./dist"], shell=True
4040
).check_returncode()
4141

42+
run(
43+
[
44+
"poetry",
45+
"build",
46+
],
47+
shell=True,
48+
).check_returncode()
49+
4250

4351
if __name__ == "__main__":
4452
main()

scripts/publish.py

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -44,7 +44,6 @@ def main() -> None:
4444
[
4545
"poetry",
4646
"publish",
47-
"--build",
4847
"--username",
4948
os.environ["PYPI_USERNAME"],
5049
"--password",

0 commit comments

Comments
 (0)