mirror of https://github.com/zulip/zulip.git
test-migrations: Fix missing exit status on error.
Previously this test was correctly detecting missing migrations, but not causing the build to fail.
This commit is contained in:
parent
f88e5b7438
commit
9e6b9dacf6
|
@ -5,6 +5,7 @@ if ./manage.py makemigrations -e --dry-run; then
|
|||
echo
|
||||
echo 'ERROR: Migrations are not consistent with models! Fix with `./manage.py makemigrations`.'
|
||||
echo
|
||||
exit 1
|
||||
else
|
||||
echo "Success! Migrations are consistent with models."
|
||||
fi
|
||||
|
|
Loading…
Reference in New Issue