Skip to content

Commit 5c014ba

Browse files
committed
updated release script
1 parent 13b8a5c commit 5c014ba

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

release.py

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -45,15 +45,15 @@ def release():
4545
if ans.lower() in ("y", "yes"):
4646
# os.system("rm -rf dist/*") #Linux
4747
os.system("RMDIR /S /Q dist") #Windows
48-
os.system("python -m build")
48+
os.system("python3.10 -m build")
4949
ans = input("upload to pip?(Y/n)")
5050
if ans.lower() in ("y", "yes"):
5151

5252
# Test PyPi Server
53-
os.system("twine upload --repository testpypi dist/*")
53+
os.system("python -m twine upload --repository testpypi dist/*")
5454

5555
#Production PyPi Server
56-
# os.system("twine upload dist/*")
56+
# os.system("python -m twine upload dist/*")
5757

5858

5959
if __name__ == "__main__":

0 commit comments

Comments
 (0)