diff --git a/sync.sh b/sync.sh index 06654c5..fae9e5b 100644 --- a/sync.sh +++ b/sync.sh @@ -11,7 +11,7 @@ changelog=${TOPDIR}/changelog-mondrian-${version}.md declare -A before if [[ -f gitstate-mondrian-${version}.txt ]] then - read -a tmp < gitstate-mondrian-${version}.txt + read -a tmp < gitstate-mondrian-${version}.txt else tmp=($(repo forall -c 'echo "${REPO_PATH}:$(git rev-parse --short HEAD)"')) fi @@ -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}"