Skip to content

Commit ce3e547

Browse files
committed
Fix error in pypi pre-requisites
1 parent 86711a9 commit ce3e547

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

tasks.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -188,7 +188,7 @@ def build(context):
188188
namespace.add_task(build)
189189

190190

191-
@invoke.task(pre=build)
191+
@invoke.task(pre=[build])
192192
def pypi(context):
193193
"Build and upload a distribution to pypi"
194194
context.run("twine upload dist/*")
@@ -197,7 +197,7 @@ def pypi(context):
197197
namespace.add_task(pypi)
198198

199199

200-
@invoke.task(pre=build)
200+
@invoke.task(pre=[build])
201201
def pypi_test(context):
202202
"Build and upload a distribution to https://test.pypi.org"
203203
context.run("twine upload --repository-url https://test.pypi.org/legacy/ dist/*")

0 commit comments

Comments
 (0)