mirror of
https://github.com/project-gauntlet/gauntlet.git
synced 2025-12-23 10:35:53 +00:00
Fix invalid bump npm version command in release pipeline
This commit is contained in:
parent
d9728f6c50
commit
74e8fceb44
1 changed files with 1 additions and 1 deletions
|
|
@ -230,7 +230,7 @@ async function makeRepoChanges(projectRoot: string): Promise<{ releaseNotes: str
|
|||
await writeFile(changelogFilePath, newChangelog.join(EOL))
|
||||
|
||||
const bumpNpmPackage = (packageDir: string) => {
|
||||
const npmVersionResult = spawnSync(`npm`, [`version 0.${newVersion}.0`], { stdio: "inherit", cwd: packageDir })
|
||||
const npmVersionResult = spawnSync('npm', ['version', `0.${newVersion}.0`], { stdio: "inherit", cwd: packageDir })
|
||||
|
||||
if (npmVersionResult.status !== 0) {
|
||||
throw new Error(`Unable to run npm version, status: ${JSON.stringify(npmVersionResult)}`);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue