[stable-2.16] Update sdist path in release tool (#83059)
The latest setuptools package uses a normalized package name for the sdist.
(cherry picked from commit 8bc0d809a6
)
This commit is contained in:
parent
955d771fbf
commit
691ee745e0
|
@ -856,7 +856,7 @@ def test_built_artifact(path: pathlib.Path) -> None:
|
|||
|
||||
def get_sdist_path(version: Version, dist_dir: pathlib.Path = DIST_DIR) -> pathlib.Path:
|
||||
"""Return the path to the sdist file."""
|
||||
return dist_dir / f"ansible-core-{version}.tar.gz"
|
||||
return dist_dir / f"ansible_core-{version}.tar.gz"
|
||||
|
||||
|
||||
def get_wheel_path(version: Version, dist_dir: pathlib.Path = DIST_DIR) -> pathlib.Path:
|
||||
|
|
Loading…
Reference in New Issue