From 701600966b269bfb09f459be53dc64ef87dc69fb Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E9=99=88=E5=98=89=E6=B6=B5?= Date: Wed, 22 May 2019 10:27:47 +0800 Subject: [PATCH] [build] update release.sh to support publish beta package --- build/release.sh | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/build/release.sh b/build/release.sh index c92c743dd..d32517e61 100644 --- a/build/release.sh +++ b/build/release.sh @@ -19,5 +19,10 @@ then git push origin 1.x git push origin refs/tags/v$VERSION - npm publish + if [[ $VERSION =~ [beta] ]] + then + npm publish --tag beta + else + npm publish + fi fi