Skip to content

Commit cc647e1

Browse files
authored
[chore] Configure publishBranch in pnpm-workspace.yaml (#7625)
1 parent 422a4d2 commit cc647e1

File tree

2 files changed

+4
-2
lines changed

2 files changed

+4
-2
lines changed

pnpm-workspace.yaml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,3 +4,5 @@ packages:
44
catalog:
55
classnames: ^2.3.1
66
tslib: ~2.6.2
7+
8+
publishBranch: develop

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 --publish-branch "$branch" --tag next --access public
26+
pnpm publish --publish-branch next --tag next --access public
2727
else
28-
pnpm publish --publish-branch "$branch" --access public
28+
pnpm publish --access public
2929
fi

0 commit comments

Comments
 (0)