Skip to content

Commit ff2a0d0

Browse files
committed
add correct --publish-branch to pnpm publish
1 parent 6f882f7 commit ff2a0d0

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

.github/workflows/publish.yml

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -41,7 +41,9 @@ jobs:
4141
# pass --github-prerelease when we are only branch other than release
4242
run: |
4343
if [ ${{ github.ref }} = "refs/heads/release" ]; then
44-
pnpm release-plan publish
44+
pnpm release-plan publish --publish-branch=release
45+
elif [ ${{ github.ref }} = "refs/heads/beta" ]; then
46+
pnpm release-plan publish --github-prerelease --publish-branch=beta
4547
else
4648
pnpm release-plan publish --github-prerelease
4749
fi

0 commit comments

Comments
 (0)