From d709ca6686c5d65a791fcbf5731872878c8830a1 Mon Sep 17 00:00:00 2001 From: Henrik Levkowetz Date: Mon, 9 Nov 2015 11:24:36 +0000 Subject: [PATCH] Added a python lib upgrade step to the mkrelease script. - Legacy-Id: 10457 --- bin/mkrelease | 3 +++ 1 file changed, 3 insertions(+) diff --git a/bin/mkrelease b/bin/mkrelease index 0664b87cd..dfca5ce52 100755 --- a/bin/mkrelease +++ b/bin/mkrelease @@ -184,6 +184,9 @@ changes=$( sed -n "/^$PROJ ($VER.*)/,/^ -- /p" changelog ) [ "$changes" ] || die "No changelog information for $VER found" #note "$changes" +note "Upgrading the python library modules before checking migrations and running tests ..." +pip install --upgrade -r requirements.txt + note "Checking that we don't have any model changes that haven't been captured in migrations ..." ietf/manage.py makemigrations | tee /dev/stderr | grep -q "^No changes detected$" || die "Model changes without migrations found."