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

Commit 0fc0f3e

Browse files
Robert MesserleThomasBurleson
authored andcommitted
fix(release): adds newVersion value to node string to update package.json
Closes #7810
1 parent 36ddf2c commit 0fc0f3e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

release.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -356,7 +356,7 @@
356356
'git checkout master',
357357
`git pull --rebase ${origin} master --strategy=theirs`,
358358
`git checkout release/${newVersion} -- CHANGELOG.md`,
359-
`node -e "${stringifyFunction(buildCommand)}"`,
359+
`node -e "var newVersion = '${newVersion}'; ${stringifyFunction(buildCommand)}"`,
360360
'git add CHANGELOG.md',
361361
'git add package.json',
362362
`git commit -m "update version number in package.json to ${newVersion}"`,

0 commit comments

Comments
 (0)