Add dist/ prefix to expected filenames

This commit is contained in:
Pradyun Gedam 2020-01-21 18:33:33 +05:30
parent b47903e5bb
commit bda17b73e6
No known key found for this signature in database
GPG Key ID: DA17C4B29CB32E4B
1 changed files with 2 additions and 2 deletions

View File

@ -234,8 +234,8 @@ def upload_release(session):
)
# Sanity check: Make sure the files are correctly named.
expected_distribution_files = [
f"pip-{version}-py2.py3-none-any.whl",
f"pip-{version}.tar.gz",
f"dist/pip-{version}-py2.py3-none-any.whl",
f"dist/pip-{version}.tar.gz",
]
if sorted(distribution_files) != sorted(expected_distribution_files):
session.error(