From 372d1a9fb783619cdb1d53ad6a5e8cf5667a7a67 Mon Sep 17 00:00:00 2001 From: Marius Gedminas Date: Wed, 9 Oct 2024 15:17:25 +0300 Subject: [PATCH] Update release.mk --- release.mk | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/release.mk b/release.mk index fcd4337..a79d32e 100644 --- a/release.mk +++ b/release.mk @@ -1,4 +1,4 @@ -# release.mk version 2.2 (2024-10-09) +# release.mk version 2.2.2 (2024-10-09) # # Helpful Makefile rules for releasing Python packages. # https://github.com/mgedmin/python-project-skel @@ -79,7 +79,7 @@ endif .PHONY: distcheck-sdist distcheck-sdist: dist - pkg_and_version=`$(PYTHON) setup.py --name`-`$(PYTHON) setup.py --version` && \ + pkg_and_version=`$(PYTHON) setup.py --name|tr .- _`-`$(PYTHON) setup.py --version` && \ rm -rf tmp && \ mkdir tmp && \ $(VCS_EXPORT) && \