chore: release all packages with latest tag except nuxt

This commit is contained in:
Daniel Roe 2023-03-09 12:41:29 +00:00
parent 0b8a18c030
commit 4e9dcddcbb

View File

@ -8,7 +8,17 @@ fi
yarn build 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 tag -a v$1 -m v$1
git push --tags git push --tags