Toggle navigation
Toggle navigation
此项目
正在载入...
Sign in
胡斌
/
srs
转到一个项目
Toggle navigation
项目
群组
代码片段
帮助
Toggle navigation pinning
Project
Activity
Repository
Pipelines
Graphs
Issues
0
Merge Requests
0
Wiki
Network
Create a new issue
Builds
Commits
Authored by
winlin
2015-08-24 10:54:31 +0800
Browse Files
Options
Browse Files
Download
Email Patches
Plain Diff
Commit
4118138cf070745cf4f7036af6fcdf8b2a2930e2
4118138c
1 parent
21b175b4
update commit script
隐藏空白字符变更
内嵌
并排对比
正在显示
1 个修改的文件
包含
5 行增加
和
1 行删除
trunk/scripts/git.commit.sh
trunk/scripts/git.commit.sh
查看文件 @
4118138
...
...
@@ -23,7 +23,8 @@ work_dir=`(cd ${work_dir}/.. && pwd)`
product_dir
=
$work_dir
# allow start script from any dir
cd
$work_dir
&&
git checkout 2.0release
cd
$work_dir
&&
work_branch
=
`
git branch -a|grep
"*"
|awk
'{print $2}'
`
&&
git checkout 2.0release
ret
=
$"; if [[
$ret
-ne 0 ]]; then echo "
switch branch failed.
ret
=
$ret
"; exit
$ret
; fi
.
${
product_dir
}
/scripts/_log.sh
ret=
$?
; if [[
$ret
-ne 0 ]]; then exit
$ret
; fi
...
...
@@ -76,4 +77,7 @@ sync_push --tags srs.oschina
sync_push --tags srs.gitlab
ok_msg "
push tags ok
"
git checkout
$work_branch
ok_msg "
switch to work branch
$work_branch
"
exit 0
...
...
请
注册
或
登录
后发表评论