mirror of
https://github.com/nuxt/nuxt.git
synced 2024-11-26 23:52:06 +00:00
chore: release all packages with latest tag except nuxt
This commit is contained in:
parent
0b8a18c030
commit
4e9dcddcbb
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user