diff --git a/scripts/release-publish b/scripts/release-publish index 2094c5cb15..d892f8cd4a 100755 --- a/scripts/release-publish +++ b/scripts/release-publish @@ -8,7 +8,17 @@ fi yarn build -./scripts/workspace-run npm publish --tag 2x -q +for dir in packages/* distributions/* ; do + # echo "$dir" + pushd $dir > /dev/null + # if package is nuxt then publish with tag 2x + if [ "$dir" = "distributions/nuxt" ]; then + echo npm publish --tag 2x -q + else + echo npm publish -q + fi + popd > /dev/null +done git tag -a v$1 -m v$1 git push --tags