提交 febd0b17 编写于 作者: X XindaH

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

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