正在显示
1 个修改的文件
包含
3 行增加
和
1 行删除
@@ -23,8 +23,10 @@ work_dir=`(cd ${work_dir}/.. && pwd)` | @@ -23,8 +23,10 @@ work_dir=`(cd ${work_dir}/.. && pwd)` | ||
23 | product_dir=$work_dir | 23 | product_dir=$work_dir |
24 | 24 | ||
25 | # allow start script from any dir | 25 | # allow start script from any dir |
26 | -cd $work_dir && work_branch=`git branch -a|grep "*"|awk '{print $2}'` && git checkout 2.0release | 26 | +cd $work_dir && work_branch=`git branch -a|grep "*"|awk '{print $2}'` && commit_branch=2.0release && git checkout $commit_branch |
27 | ret=$"; if [[ $ret -ne 0 ]]; then echo "switch branch failed. ret=$ret"; exit $ret; fi | 27 | ret=$"; if [[ $ret -ne 0 ]]; then echo "switch branch failed. ret=$ret"; exit $ret; fi |
28 | +echo "work branch is $work_branch" | ||
29 | +echo "commit branch is $commit_branch" | ||
28 | 30 | ||
29 | . ${product_dir}/scripts/_log.sh | 31 | . ${product_dir}/scripts/_log.sh |
30 | ret=$?; if [[ $ret -ne 0 ]]; then exit $ret; fi | 32 | ret=$?; if [[ $ret -ne 0 ]]; then exit $ret; fi |
-
请 注册 或 登录 后发表评论