fix: avoid registry resolution during version bumps

This commit is contained in:
Armin Ronacher 2026-08-06 12:31:40 +02:00
parent 6d0455ff64
commit d6442dd486
2 changed files with 5 additions and 5 deletions

View file

@ -121,7 +121,7 @@ function bumpOrSetVersion(target) {
}
console.log(`Setting explicit version (${target})...`);
run(`npm version ${target} -ws --no-git-tag-version && node scripts/sync-versions.js && npm install --package-lock-only --ignore-scripts`);
run(`npm version ${target} --workspaces --no-git-tag-version --no-workspaces-update && node scripts/sync-versions.js && npm install --package-lock-only --ignore-scripts`);
}
// npm version can temporarily install the previous workspace versions before