If the gradle build fails for some reason, the script should bail out instead of carrying on and pushing a commit that deletes all the screenshots[1]! `set -e` simply makes the script return the appropriate exit code immediately if any of the subcommands fails. [1] e.g. https://github.com/vector-im/element-x-android/pull/726/commits/529a7c87ef94fdfa77006a82885418b799003407 |
||
|---|---|---|
| .. | ||
| scripts | ||
| build.yml | ||
| danger.yml | ||
| gradle-wrapper-update.yml | ||
| gradle-wrapper-validation.yml | ||
| maestro.yml | ||
| nightly.yml | ||
| nightlyReports.yml | ||
| quality.yml | ||
| recordScreenshots.yml | ||
| sync-localazy.yml | ||
| tests.yml | ||
| triage-labelled.yml | ||
| validate-lfs.yml | ||