We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 86711a9 commit ce3e547Copy full SHA for ce3e547
tasks.py
@@ -188,7 +188,7 @@ def build(context):
188
namespace.add_task(build)
189
190
191
-@invoke.task(pre=build)
+@invoke.task(pre=[build])
192
def pypi(context):
193
"Build and upload a distribution to pypi"
194
context.run("twine upload dist/*")
@@ -197,7 +197,7 @@ def pypi(context):
197
namespace.add_task(pypi)
198
199
200
201
def pypi_test(context):
202
"Build and upload a distribution to https://test.pypi.org"
203
context.run("twine upload --repository-url https://test.pypi.org/legacy/ dist/*")
0 commit comments