Commit c4460db2 authored by Oliver Pinter's avatar Oliver Pinter
Browse files

HBSD: send more details about the skipped branches


Signed-off-by: default avatarOliver Pinter <oliver.pinter@hardenedbsd.org>
parent 3a1e41cf
......@@ -46,18 +46,19 @@ foreach line ( ${BRANCHES} )
set branch=`echo ${line} | cut -d ':' -f 1 | tr -d '#'`
set _branch=`echo ${branch} | tr '/' ':'`
echo "==== BEGIN: ${branch} ====" |& ${TEE_CMD} ${LOGS}/${_branch}-${DATE}.log
echo "current branch: ${branch}" |& ${TEE_CMD} ${LOGS}/${_branch}-${DATE}.log
echo "mergeable branch: ${remote_branches}" |& ${TEE_CMD} ${LOGS}/${_branch}-${DATE}.log
# Skip lines beginning with '#'
echo ${line} | grep -Eq '^#.*'
if ( $? == 0 ) then
echo "=== SKIP: ${line} ===" |& ${TEE_CMD} ${LOGS}/${_branch}-${DATE}.log
set _mail_subject_prefix="[SKIP]"
echo "==== SKIP: ${line} ====" |& ${TEE_CMD} ${LOGS}/${_branch}-${DATE}.log
goto handle_err
endif
echo "==== BEGIN: ${branch} ====" |& ${TEE_CMD} ${LOGS}/${_branch}-${DATE}.log
echo "current branch: ${branch}" |& ${TEE_CMD} ${LOGS}/${_branch}-${DATE}.log
echo "mergeable branch: ${remote_branches}" |& ${TEE_CMD} ${LOGS}/${_branch}-${DATE}.log
echo "==== change branch ====" |& ${TEE_CMD} ${LOGS}/${_branch}-${DATE}.log
# change branch
(git checkout ${branch}) |& ${TEE_CMD} ${LOGS}/${_branch}-${DATE}.log
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment