Skip to content
GitLab
Menu
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in / Register
Toggle navigation
Menu
Open sidebar
Loic
tools
Commits
c4460db2
Commit
c4460db2
authored
Jul 12, 2017
by
Oliver Pinter
Browse files
HBSD: send more details about the skipped branches
Signed-off-by:
Oliver Pinter
<
oliver.pinter@hardenedbsd.org
>
parent
3a1e41cf
Changes
1
Hide whitespace changes
Inline
Side-by-side
hardenedBSD_update_and_push.csh
View file @
c4460db2
...
...
@@ -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
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment