mirror of
https://github.com/zulip/zulip.git
synced 2025-11-03 05:23:35 +00:00
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:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user