summaryrefslogtreecommitdiffstats
path: root/packaging
diff options
context:
space:
mode:
authorMatt Clay <matt@mystile.com>2024-04-16 19:06:14 +0200
committerMatt Clay <matt@mystile.com>2024-04-16 19:13:40 +0200
commit8bc0d809a6f35dc8cc16ff3c8fbe1eb93778b3ad (patch)
tree9acc086cb8bf05738e7de61e9e67d1350125f610 /packaging
parenthandlers: fix executing in lockstep using linear (#83030) (diff)
downloadansible-8bc0d809a6f35dc8cc16ff3c8fbe1eb93778b3ad.tar.xz
ansible-8bc0d809a6f35dc8cc16ff3c8fbe1eb93778b3ad.zip
Update sdist path in release tool
The latest setuptools package uses a normalized package name for the sdist.
Diffstat (limited to 'packaging')
-rwxr-xr-xpackaging/release.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/packaging/release.py b/packaging/release.py
index 97c58a7424..95ee2c3dec 100755
--- a/packaging/release.py
+++ b/packaging/release.py
@@ -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: