Skip to content

Commit

Permalink
[stable-2.16] Update sdist path in release tool (ansible#83059)
Browse files Browse the repository at this point in the history
The latest setuptools package uses a normalized package name for the sdist.

(cherry picked from commit 8bc0d80)
  • Loading branch information
mattclay authored Apr 16, 2024
1 parent 955d771 commit 691ee74
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packaging/release.py
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand Down

0 comments on commit 691ee74

Please sign in to comment.