diff --git a/scripts/version.js b/scripts/version.js index 796e3b7ad4..d00d4ab9c5 100644 --- a/scripts/version.js +++ b/scripts/version.js @@ -32,7 +32,8 @@ if (!versionType) { } // 2. Bump the version in the root and all workspace package.json files. -run(`npm version ${versionType} --workspaces --no-git-tag-version`); +run(`npm version ${versionType} --no-git-tag-version --allow-same-version`) +run(`npm version ${versionType} --workspaces --no-git-tag-version --allow-same-version`); // 3. Get the new version number from the root package.json const rootPackageJsonPath = resolve(process.cwd(), 'package.json');