Skip to content
Snippets Groups Projects
Commit 4ac3935e authored by jurgenhaas's avatar jurgenhaas
Browse files

Output error log when checking for updates failed

parent e6a4cfac
No related branches found
No related tags found
No related merge requests found
......@@ -714,7 +714,9 @@ Debug:
script:
- DOUPDATE=0
- rm /tmp/test.log >/dev/null 2>&1 || true
- composer update --no-interaction --no-progress --no-dev --dry-run $NAMESPACES_CHECK_UPDATE >/tmp/test.log 2>&1
- EC=0
- composer update --no-interaction --no-progress --no-dev --dry-run $NAMESPACES_CHECK_UPDATE >/tmp/test.log 2>&1 || EC=$?
- if [[ $EC -ne 0 ]]; then cat /tmp/test.log; exit 1; fi
- EC=0
- grep "Nothing to modify in lock file" /tmp/test.log || EC=$?
- if [[ $EC -ne 0 ]]; then DOUPDATE=1; fi
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment