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 bc86dc3 commit e8b85ffCopy full SHA for e8b85ff
duties.py
@@ -401,7 +401,7 @@ def publish(ctx: Context) -> None:
401
"""
402
if not Path("dist").exists():
403
ctx.run("false", title="No distribution files found")
404
- dists = [str(dist) for dist in Path("dist").iterdir()]
+ dists = [str(dist) for dist in Path("dist").iterdir() if dist.suffix in (".tar.gz", ".whl")]
405
ctx.run(
406
tools.twine.upload(*dists, skip_existing=True),
407
title="Publishing source and wheel distributions to PyPI",
0 commit comments