[ -f "../pre-merge/$tree" ] && {
for p in $(cat "../pre-merge/$tree"); do
"$bin_dir/do_patch" -n "$p" || {
+ notify-send -u critical -t 0 "premerge patch failed"
bash -i || exit
}
done
"$bin_dir/do_rm" $rm_files
}
git diff 2>&1 | egrep -q '<<<<<|^\*' && {
+ notify-send -u critical -t 0 "merge failed"
bash -i || exit
}
# [ "$(git status --porcelain)" ] && {
[ -f "../merge-fixes/$tree" ] && {
for p in $(cat "../merge-fixes/$tree"); do
"$bin_dir/merge_fix" -n "$p" || {
+ notify-send -u critical -t 0 "post merge patch failed"
bash -i || exit
}
done
continue
git push -f "$build_host":"$build_dir" master:refs/heads/next || {
echo git push failed 1>&2
+ notify-send -u critical -t 0 "push failed"
bash -i || exit
}
"$bin_dir/do_build" || {
echo Build failed 1>&2
+ notify-send -u critical -t 0 "build failed"
bash -i || exit
}
need_build=false