Skip to content

Commit 884d017

Browse files
committed
fixed deploy error
1 parent a1581fc commit 884d017

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

deploy.sh

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,10 @@
11
#!/usr/bin/env bash
22

3+
# check this version is enable to release or not
4+
npx can-npm-publish
5+
if [ $? -eq 1 ] ; then
6+
exit 255
7+
fi
8+
39
npm config set //registry.npmjs.org/:_authToken $NPM_TOKEN
410
npm publish

0 commit comments

Comments
 (0)