Skip to content

Commit 6ce186f

Browse files
committed
build: fix publish branch
1 parent 0830ae8 commit 6ce186f

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

scripts/release.mjs

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -296,6 +296,9 @@ async function publishPackage(pkg) {
296296
...(optionTag ? ['--tag', optionTag] : []),
297297
'--access',
298298
'public',
299+
// specific to pinia
300+
'--publish-branch',
301+
'v2',
299302
],
300303
{
301304
cwd: pkg.path,

0 commit comments

Comments
 (0)