Nuxt/scripts/release.sh
pooya parsa d991a55ec3
v3.0.0 (#9051)
Co-authored-by: Sébastien Chopin <seb@nuxtjs.com>
2022-11-16 15:56:11 +01:00

19 lines
344 B
Bash
Executable File

#!/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