提交 febd0b17 编写于 作者: X XindaH

ci(fix): fail when git user name or email is empty

上级 eb2dd018
...@@ -32,11 +32,11 @@ git submodule update --init cutlass ...@@ -32,11 +32,11 @@ git submodule update --init cutlass
git submodule update --init cpuinfo git submodule update --init cpuinfo
name=`git config --get user.name` name=`git config --get user.name || true`
if [ -z "$name" ]; then if [ -z "$name" ]; then
name="default" name="default"
fi fi
email=`git config --get user.email` email=`git config --get user.email || true`
if [ -z "$email" ]; then if [ -z "$email" ]; then
email="default" email="default"
fi fi
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册