fix: exit on sync error
This commit is contained in:
parent
0351de2fe9
commit
a731d0e3a3
2
sync.sh
2
sync.sh
@ -20,7 +20,7 @@ for i in "${tmp[@]}"; do
|
|||||||
before[${folder}]=${commit}
|
before[${folder}]=${commit}
|
||||||
done
|
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}"
|
echo -e "# Build $(date '+%Y-%m-%d %H:%M:%S %Z')\n" >>"${changelog}"
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user