mirror of https://github.com/pypa/pip
Add dist/ prefix to expected filenames
This commit is contained in:
parent
b47903e5bb
commit
bda17b73e6
|
@ -234,8 +234,8 @@ def upload_release(session):
|
||||||
)
|
)
|
||||||
# Sanity check: Make sure the files are correctly named.
|
# Sanity check: Make sure the files are correctly named.
|
||||||
expected_distribution_files = [
|
expected_distribution_files = [
|
||||||
f"pip-{version}-py2.py3-none-any.whl",
|
f"dist/pip-{version}-py2.py3-none-any.whl",
|
||||||
f"pip-{version}.tar.gz",
|
f"dist/pip-{version}.tar.gz",
|
||||||
]
|
]
|
||||||
if sorted(distribution_files) != sorted(expected_distribution_files):
|
if sorted(distribution_files) != sorted(expected_distribution_files):
|
||||||
session.error(
|
session.error(
|
||||||
|
|
Loading…
Reference in New Issue