From adbf9af5282311453fc499334a7fd6b35ebe13fb Mon Sep 17 00:00:00 2001 From: Ilya Denisov Date: Tue, 12 Sep 2023 02:50:06 +0300 Subject: [PATCH] feat: update clean shell script to fail if any of the commands fail https://github.com/pact-foundation/pact-broker-docker/pull/139 --- pact_broker/clean.sh | 2 ++ 1 file changed, 2 insertions(+) diff --git a/pact_broker/clean.sh b/pact_broker/clean.sh index 310d4d0a..63794929 100755 --- a/pact_broker/clean.sh +++ b/pact_broker/clean.sh @@ -1,4 +1,6 @@ #!/bin/sh +set -e + bundle exec rake pact_broker:db:clean bundle exec rake pact_broker:db:delete_overwritten_data