Skip to content

Commit

Permalink
fix: release --lerna-package use variable pkgName (#7399)
Browse files Browse the repository at this point in the history
  • Loading branch information
spencer17x committed Mar 23, 2022
1 parent c7fc7c3 commit 968a011
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion scripts/release.ts
Expand Up @@ -88,7 +88,7 @@ async function main(): Promise<void> {
'--commit-path',
'.'
]
if (pkgName !== 'vite') changelogArgs.push('--lerna-package', 'plugin-vue')
if (pkgName !== 'vite') changelogArgs.push('--lerna-package', pkgName)
await run('npx', changelogArgs, { cwd: pkgDir })

const { stdout } = await run('git', ['diff'], { stdio: 'pipe' })
Expand Down

0 comments on commit 968a011

Please sign in to comment.