Added a python lib upgrade step to the mkrelease script.

- Legacy-Id: 10457
This commit is contained in:
Henrik Levkowetz 2015-11-09 11:24:36 +00:00
parent 9fc04943cc
commit d709ca6686

View file

@ -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."