Update sdist path in release tool

The latest setuptools package uses a normalized package name for the sdist.
This commit is contained in:
Matt Clay 2024-04-16 10:06:14 -07:00
parent a3cdd831b3
commit 8bc0d809a6
1 changed files with 1 additions and 1 deletions

View File

@ -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: