summaryrefslogtreecommitdiff
path: root/scripts/test_new_version.sh
diff options
context:
space:
mode:
Diffstat (limited to 'scripts/test_new_version.sh')
-rwxr-xr-xscripts/test_new_version.sh48
1 files changed, 0 insertions, 48 deletions
diff --git a/scripts/test_new_version.sh b/scripts/test_new_version.sh
deleted file mode 100755
index 317ce71ee1..0000000000
--- a/scripts/test_new_version.sh
+++ /dev/null
@@ -1,48 +0,0 @@
-#! /bin/bash
-
-# Original author: Tim Graham.
-
-set -xue
-
-cd /tmp
-
-RELEASE_VERSION="${VERSION}"
-if [[ -z "$RELEASE_VERSION" ]]; then
- echo "Please set VERSION as env var"
- exit 1
-fi
-
-PKG_TAR=$(curl -Ls -o /dev/null -w '%{url_effective}' https://www.djangoproject.com/download/$RELEASE_VERSION/tarball/)
-echo $PKG_TAR
-
-PKG_WHL=$(curl -Ls -o /dev/null -w '%{url_effective}' https://www.djangoproject.com/download/$RELEASE_VERSION/wheel/)
-echo $PKG_WHL
-
-python3 -m venv django-pip
-. django-pip/bin/activate
-python -m pip install --no-cache-dir $PKG_TAR
-django-admin startproject test_one
-cd test_one
-./manage.py --help # Ensure executable bits
-python manage.py migrate
-python manage.py runserver 0
-
-deactivate
-cd ..
-rm -rf test_one
-rm -rf django-pip
-
-
-python3 -m venv django-pip-wheel
-. django-pip-wheel/bin/activate
-python -m pip install --no-cache-dir $PKG_WHL
-django-admin startproject test_one
-cd test_one
-./manage.py --help # Ensure executable bits
-python manage.py migrate
-python manage.py runserver 0
-
-deactivate
-cd ..
-rm -rf test_one
-rm -rf django-pip-wheel