Merge pull request #2526 from dokku/mh-deploy-tasks-bug

actually fail deploy when app.json script fails
This commit is contained in:
Jose Diaz-Gonzalez
2016-12-09 17:45:15 -07:00
committed by GitHub

View File

@@ -42,7 +42,7 @@ execute_script() {
COMMAND+=" rm -rf /tmp/cache ; "
COMMAND+=" ln -sf /cache /tmp/cache ; "
COMMAND+=" fi ; "
COMMAND+=" $SCRIPT_CMD ;"
COMMAND+=" $SCRIPT_CMD || exit 1;"
COMMAND+=" if [[ -d '/cache' ]]; then "
COMMAND+=" echo removing installation cache... ; "
COMMAND+=" rm -f /tmp/cache ; "