mirror of
https://github.com/zulip/zulip.git
synced 2025-11-15 11:22:04 +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
|
||||||
echo 'ERROR: Migrations are not consistent with models! Fix with `./manage.py makemigrations`.'
|
echo 'ERROR: Migrations are not consistent with models! Fix with `./manage.py makemigrations`.'
|
||||||
echo
|
echo
|
||||||
|
exit 1
|
||||||
else
|
else
|
||||||
echo "Success! Migrations are consistent with models."
|
echo "Success! Migrations are consistent with models."
|
||||||
fi
|
fi
|
||||||
|
|||||||
Reference in New Issue
Block a user