Skip to content

Commit

Permalink
build: fix publish branch
Browse files Browse the repository at this point in the history
  • Loading branch information
posva committed Mar 31, 2022
1 parent 0830ae8 commit 6ce186f
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions scripts/release.mjs
Original file line number Diff line number Diff line change
Expand Up @@ -296,6 +296,9 @@ async function publishPackage(pkg) {
...(optionTag ? ['--tag', optionTag] : []),
'--access',
'public',
// specific to pinia
'--publish-branch',
'v2',
],
{
cwd: pkg.path,
Expand Down

0 comments on commit 6ce186f

Please sign in to comment.