Skip to content

Commit ce688d7

Browse files
committed
Add upload steps [skip ci]
1 parent 9df3962 commit ce688d7

File tree

1 file changed

+2
-5
lines changed

1 file changed

+2
-5
lines changed

admin/release.py

Lines changed: 2 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -111,11 +111,8 @@ def upload_to_pypi() -> None:
111111
"""
112112
Upload builds to PyPI.
113113
"""
114-
for args in (
115-
['rm', '-rf', 'build'],
116-
['python', 'setup.py', 'sdist', 'bdist_wheel'],
117-
):
118-
subprocess.run(args=args, check=True)
114+
args = ['twine', 'upload', '-r', 'pypi', 'dist/*']
115+
subprocess.run(args=args, check=True)
119116

120117

121118
def main() -> None:

0 commit comments

Comments
 (0)