Skip to content

Commit 285d959

Browse files
committed
Updated pypi_test task to use --repository flag in its twine command.
1 parent c409098 commit 285d959

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

tasks.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -339,7 +339,7 @@ def pypi(context):
339339
def pypi_test(context):
340340
"""Build and upload a distribution to https://test.pypi.org"""
341341
with context.cd(TASK_ROOT_STR):
342-
context.run('twine upload --repository-url https://test.pypi.org/legacy/ dist/*')
342+
context.run('twine upload --repository testpypi dist/*')
343343

344344

345345
namespace.add_task(pypi_test)

0 commit comments

Comments
 (0)