Rename task.branch to task.checkout
This commit is contained in:
parent
0887bd839f
commit
d41c474275
|
@ -190,12 +190,13 @@ for p_name in ${PROJECTS[*]}; do
|
||||||
continue
|
continue
|
||||||
fi
|
fi
|
||||||
info process
|
info process
|
||||||
# TODO: Should be able to switch branch after a repo was cloned
|
# checkout a specific branch/commit
|
||||||
if [ -f $BASEDIR/$p_name.branch ]; then
|
if [ -f $BASEDIR/$p_name.checkout ]; then
|
||||||
p_branch="$(cat $BASEDIR/$p_name.branch)"
|
p_branch="$(cat $BASEDIR/$p_name.checkout)"
|
||||||
export i18n_branch="$p_branch"
|
export i18n_branch="$p_branch"
|
||||||
info to_branch
|
info to_branch
|
||||||
else
|
else
|
||||||
|
# TODO: support non-master primary branch
|
||||||
p_branch="master"
|
p_branch="master"
|
||||||
export i18n_branch="$p_branch"
|
export i18n_branch="$p_branch"
|
||||||
debug default_branch
|
debug default_branch
|
||||||
|
|
Loading…
Reference in New Issue