Skip to content
This repository was archived by the owner on Sep 19, 2025. It is now read-only.

Commit 799cec3

Browse files
[skip ci] Add stdio config so errors can be seen
1 parent 2c1a1e9 commit 799cec3

File tree

1 file changed

+6
-6
lines changed

1 file changed

+6
-6
lines changed

build-scripts/version-packages.js

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -47,7 +47,7 @@ if (!semver.gt(newVersion, currentVersion)) {
4747

4848
rootPackageJson.version = newVersion.toString();
4949
fs.writeFileSync(rootPackageJsonPath, `${JSON.stringify(rootPackageJson, null, 2)}\n`, 'utf8');
50-
childProcess.execSync(`git add "${rootPackageJsonPath}"`);
50+
childProcess.execSync(`git add "${rootPackageJsonPath}"`, {stdio: 'inherit'});
5151

5252
const dependencyTypes = ['dependencies', 'devDependencies', 'optionalDependencies', 'peerDependencies'];
5353

@@ -75,10 +75,10 @@ for (const packageName of packages) {
7575
}
7676
}
7777
fs.writeFileSync(packageJsonPath, `${JSON.stringify(pkgJson, null, 2)}\n`, 'utf8');
78-
childProcess.execSync(`git add "${packageJsonPath}"`);
78+
childProcess.execSync(`git add "${packageJsonPath}"`, {stdio: 'inherit'});
7979
}
8080

81-
childProcess.execSync(`yarn install`);
82-
childProcess.execSync(`git add "${path.resolve(__dirname, '../yarn.lock')}"`);
83-
childProcess.execSync(`git commit -m "v${newVersion.toString()}"`);
84-
childProcess.execSync(`git tag -a v${newVersion.toString()} -m "v${newVersion.toString()}"`);
81+
childProcess.execSync(`yarn install`, {stdio: 'inherit'});
82+
childProcess.execSync(`git add "${path.resolve(__dirname, '../yarn.lock')}"`, {stdio: 'inherit'});
83+
childProcess.execSync(`git commit -m "v${newVersion.toString()}"`, {stdio: 'inherit'});
84+
childProcess.execSync(`git tag -a v${newVersion.toString()} -m "v${newVersion.toString()}"`, {stdio: 'inherit'});

0 commit comments

Comments
 (0)