From 5d215ff904ecf3d000bce5ed37abfb244647d66e Mon Sep 17 00:00:00 2001 From: Natalia <124304+nessita@users.noreply.github.com> Date: Tue, 7 Apr 2026 11:19:28 -0300 Subject: [6.0.x] Fixed two issues in release helper scripts/verify_release.sh. The artifacts downloaded from media.djangoproject.com use a lowercase "django-" prefix but the script searched for capital D. Error was: "ls: cannot access 'Django-*.tar.gz': No such file or directory" The tarball and wheel smoke-tests used the same `test_one` folder inside the same working directory, so the second invocation failed with "CommandError: '/tmp/tmp.1234567890' already exists". Backport of 78a3ffbb4cec25ed003f16cf4b1aa0b4bcdc2590 from main. --- scripts/verify_release.sh | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/scripts/verify_release.sh b/scripts/verify_release.sh index d808b62cfa..03568f14d1 100755 --- a/scripts/verify_release.sh +++ b/scripts/verify_release.sh @@ -67,15 +67,15 @@ sha1sum --check "${CHECKSUM_FILE}" 2>/dev/null echo "- SHA256 checksums" sha256sum --check "${CHECKSUM_FILE}" 2>/dev/null -PKG_TAR=$(ls Django-*.tar.gz) -PKG_WHL=$(ls Django-*.whl) +PKG_TAR=$(ls django-*.tar.gz) +PKG_WHL=$(ls django-*.whl) echo "Testing tarball install ..." python3 -m venv django-pip . django-pip/bin/activate python -m pip install --no-cache-dir "${WORKDIR}/${PKG_TAR}" -django-admin startproject test_one -cd test_one +django-admin startproject test_tarball +cd test_tarball ./manage.py --help # Ensure executable bits python manage.py migrate python manage.py runserver 0 @@ -86,8 +86,8 @@ echo "Testing wheel install ..." python3 -m venv django-pip-wheel . django-pip-wheel/bin/activate python -m pip install --no-cache-dir "${WORKDIR}/${PKG_WHL}" -django-admin startproject test_one -cd test_one +django-admin startproject test_wheel +cd test_wheel ./manage.py --help # Ensure executable bits python manage.py migrate python manage.py runserver 0 -- cgit v1.3