fix: exit on sync error
Some checks failed
ci/woodpecker/push/sync Pipeline was successful
ci/woodpecker/manual/sync Pipeline was successful
ci/woodpecker/manual/build-wifi Pipeline failed
ci/woodpecker/manual/build-lte unknown status
ci/woodpecker/manual/copy unknown status

This commit is contained in:
nyyu 2023-03-26 12:28:30 +02:00
parent 0351de2fe9
commit a731d0e3a3

View File

@ -20,7 +20,7 @@ for i in "${tmp[@]}"; do
before[${folder}]=${commit}
done
repo sync -q -c -j 6 --fail-fast --force-sync --no-tags
repo sync -q -c -j 6 --fail-fast --force-sync --no-tags || exit 1
echo -e "# Build $(date '+%Y-%m-%d %H:%M:%S %Z')\n" >>"${changelog}"