mirror of
https://github.com/nuxt/nuxt.git
synced 2024-11-11 08:33:53 +00:00
19 lines
344 B
Bash
19 lines
344 B
Bash
|
#!/bin/bash
|
||
|
|
||
|
set -e
|
||
|
|
||
|
# Restore all git changes
|
||
|
git restore -s@ -SW -- packages examples
|
||
|
|
||
|
# Build all once to ensure things are nice
|
||
|
pnpm build
|
||
|
|
||
|
# Release packages
|
||
|
for PKG in packages/* ; do
|
||
|
pushd $PKG
|
||
|
TAG="latest"
|
||
|
echo "⚡ Publishing $PKG with tag $TAG"
|
||
|
pnpm publish --access public --no-git-checks --tag $TAG
|
||
|
popd > /dev/null
|
||
|
done
|