We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 872af2b commit 66f2650Copy full SHA for 66f2650
script/npm-set-latest.sh
@@ -2,9 +2,9 @@
2
3
[ -z "$1" ] && {
4
echo
5
- echo "Usage: npm-set-latest.sh <wechaty@version>"
+ echo "Usage: npm-set-latest.sh <version>"
6
7
exit 1
8
}
9
10
-npm dist-tag add "$1" latest
+npm dist-tag add "wechaty@$1" latest
0 commit comments