提交 66f26501 编写于 作者: Huan (李卓桓)'s avatar Huan (李卓桓)

fix(script): simplify parameters for npm script

上级 872af2bf
......@@ -2,9 +2,9 @@
[ -z "$1" ] && {
echo
echo "Usage: npm-set-latest.sh <wechaty@version>"
echo "Usage: npm-set-latest.sh <version>"
echo
exit 1
}
npm dist-tag add "$1" latest
npm dist-tag add "wechaty@$1" latest
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册