diff --git a/build/release.sh b/build/release.sh index 6a8ad621..bf4f3869 100644 --- a/build/release.sh +++ b/build/release.sh @@ -24,7 +24,13 @@ then # publish git push origin master git push origin refs/tags/v$VERSION - npm publish + + if [[ $VERSION =~ [beta] ]] + then + npm publish --tag beta + else + npm publish + fi # sync dev git checkout dev