From 4e9dcddcbbe6744f952946d175f05adeb82441b1 Mon Sep 17 00:00:00 2001 From: Daniel Roe Date: Thu, 9 Mar 2023 12:41:29 +0000 Subject: [PATCH] chore: release all packages with latest tag except `nuxt` --- scripts/release-publish | 12 +++++++++++- 1 file changed, 11 insertions(+), 1 deletion(-) diff --git a/scripts/release-publish b/scripts/release-publish index 2094c5cb15..d892f8cd4a 100755 --- a/scripts/release-publish +++ b/scripts/release-publish @@ -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