Skip to content

Commit

Permalink
chore: release all packages with latest tag except nuxt
Browse files Browse the repository at this point in the history
  • Loading branch information
danielroe committed Mar 9, 2023
1 parent 0b8a18c commit 4e9dcdd
Showing 1 changed file with 11 additions and 1 deletion.
12 changes: 11 additions & 1 deletion scripts/release-publish
Expand Up @@ -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

0 comments on commit 4e9dcdd

Please sign in to comment.