fix(release): npm publish error when file path contains spaces (#24750)

## Current Behavior

## Expected Behavior

## Related Issue(s)

Fixes #24682
This commit is contained in:
dmcweeney 2024-05-23 03:30:49 +01:00 committed by GitHub
parent 7705757c62
commit 261b0ff002
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -201,7 +201,7 @@ export default async function runExecutor(
}
const npmPublishCommandSegments = [
`npm publish ${packageRoot} --json --"${registryConfigKey}=${registry}" --tag=${tag}`,
`npm publish "${packageRoot}" --json --"${registryConfigKey}=${registry}" --tag=${tag}`,
];
if (options.otp) {