提交 b0509d0a 编写于 作者: martianzhang's avatar martianzhang

add url check for version

上级 d9f6ef72
...@@ -32,4 +32,7 @@ const ( ...@@ -32,4 +32,7 @@ const (
) )
EOF EOF
echo "${tag}" | awk -F '-' '{print $1}' > VERSION XIAOMI=$(git ls-remote --get-url | grep XiaoMi)
if [ "x${XIAOMI}" != "x" ]; then
echo "${tag}" | awk -F '-' '{print $1}' > VERSION
fi
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册