diff --git a/.drone.yml b/.drone.yml index 580d8b8af7..6e1e7527fc 100644 --- a/.drone.yml +++ b/.drone.yml @@ -175,13 +175,13 @@ steps: files: - clover.xml - name: Check database.sql - image: alpine + image: alpine/git commands: - git update-index --refresh - git diff-index --quiet HEAD -- - if [[ $? -ne 0 ]]; then - echo "database.sql mismatch."; - exit 1; + echo "database.sql mismatch."; + exit 1; fi services: