Skip to content

Commit 7016009

Browse files
committed
[build] update release.sh to support publish beta package
1 parent ec6820c commit 7016009

1 file changed

Lines changed: 6 additions & 1 deletion

File tree

build/release.sh

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,5 +19,10 @@ then
1919
git push origin 1.x
2020
git push origin refs/tags/v$VERSION
2121

22-
npm publish
22+
if [[ $VERSION =~ [beta] ]]
23+
then
24+
npm publish --tag beta
25+
else
26+
npm publish
27+
fi
2328
fi

0 commit comments

Comments
 (0)