Skip to content

Commit 4e9dcdd

Browse files
committedMar 9, 2023
chore: release all packages with latest tag except nuxt
1 parent 0b8a18c commit 4e9dcdd

File tree

1 file changed

+11
-1
lines changed

1 file changed

+11
-1
lines changed
 

‎scripts/release-publish

+11-1
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,17 @@ fi
88

99
yarn build
1010

11-
./scripts/workspace-run npm publish --tag 2x -q
11+
for dir in packages/* distributions/* ; do
12+
# echo "$dir"
13+
pushd $dir > /dev/null
14+
# if package is nuxt then publish with tag 2x
15+
if [ "$dir" = "distributions/nuxt" ]; then
16+
echo npm publish --tag 2x -q
17+
else
18+
echo npm publish -q
19+
fi
20+
popd > /dev/null
21+
done
1222

1323
git tag -a v$1 -m v$1
1424
git push --tags

0 commit comments

Comments
 (0)
Please sign in to comment.