mirror of
https://github.com/nuxt/nuxt.git
synced 2024-11-22 05:35:13 +00:00
fix edge release script
This commit is contained in:
parent
df2bad76bc
commit
c8ca7fa3b4
@ -8,8 +8,6 @@ git restore -s@ -SW -- packages examples
|
||||
# Bump versions to edge
|
||||
pnpm jiti ./scripts/bump-edge
|
||||
|
||||
pnpm i --frozen-lockfile=false
|
||||
|
||||
# Update token
|
||||
if [[ ! -z ${NODE_AUTH_TOKEN} ]] ; then
|
||||
echo "//registry.npmjs.org/:_authToken=${NODE_AUTH_TOKEN}" >> ~/.npmrc
|
||||
@ -22,6 +20,6 @@ fi
|
||||
for p in packages/* ; do
|
||||
pushd $p
|
||||
echo "Publishing $p"
|
||||
npx npm@8.17.0 publish --access public --tolerate-republish
|
||||
npx npm@8.19.2 publish --access public --tolerate-republish
|
||||
popd
|
||||
done
|
||||
|
@ -16,6 +16,6 @@ for PKG in packages/* ; do
|
||||
TAG="rc"
|
||||
fi
|
||||
echo "⚡ Publishing $PKG with tag $TAG"
|
||||
npx npm@8.17.0 publish --tag $TAG --access public --tolerate-republish
|
||||
npx npm@8.19.2 publish --tag $TAG --access public --tolerate-republish
|
||||
popd > /dev/null
|
||||
done
|
||||
|
Loading…
Reference in New Issue
Block a user