Skip to content

Commit 80e4863

Browse files
authored
[chore] Fix publishing to npm with pnpm publish (#7619)
1 parent f078df3 commit 80e4863

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

scripts/circle-publish-npm

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ fi
2323
if [[ "$branch" == "next" ]]; then
2424
echo "Publishing with next tag because branch name is next"
2525
# must set public access for scoped packages
26-
pnpm publish --tag next --access public
26+
pnpm publish --publish-branch "$branch" --tag next --access public
2727
else
28-
pnpm publish --access public
28+
pnpm publish --publish-branch "$branch" --access public
2929
fi

0 commit comments

Comments
 (0)