diff options
| author | Natalia <124304+nessita@users.noreply.github.com> | 2026-04-07 11:19:28 -0300 |
|---|---|---|
| committer | Jacob Walls <jacobtylerwalls@gmail.com> | 2026-04-07 13:52:44 -0400 |
| commit | bd1a7583061a96059ea560eb7b59bebce4240778 (patch) | |
| tree | 805ae37d77f91c27c137bd4916469f2ddafdec48 | |
| parent | da57aaad76e674fdb01b741974acf229d3ac4132 (diff) | |
[5.2.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-x | scripts/verify_release.sh | 12 |
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 |
