summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorNatalia <124304+nessita@users.noreply.github.com>2026-04-07 11:19:28 -0300
committerJacob Walls <jacobtylerwalls@gmail.com>2026-04-07 13:52:21 -0400
commit5d215ff904ecf3d000bce5ed37abfb244647d66e (patch)
tree5eaffd606e2ba396b746d159ccc390766b3ee522
parent6d11710085a5b33f446795a5905e0c955d6e1d09 (diff)
[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.
-rwxr-xr-xscripts/verify_release.sh12
1 files 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