fix edge release script

This commit is contained in:
Pooya Parsa 2022-10-17 15:03:29 +02:00
parent df2bad76bc
commit c8ca7fa3b4
2 changed files with 2 additions and 4 deletions

View File

@ -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

View File

@ -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