Bug Fix:Fail Release Phase if a Migration Fails (#10968)
This commit is contained in:
parent
3cc9b20b4f
commit
70725665ac
1 changed files with 1 additions and 1 deletions
|
|
@ -5,7 +5,7 @@ namespace :app_initializer do
|
|||
Rake::Task["search:setup"].execute
|
||||
|
||||
puts "\n== Preparing database =="
|
||||
system("bin/rails db:prepare")
|
||||
system("bin/rails db:prepare") || exit!(1)
|
||||
|
||||
puts "\n== Updating Data =="
|
||||
Rake::Task["data_updates:enqueue_data_update_worker"].execute
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue