Skip to content

Commit

Permalink
fix(release): adds newVersion value to node string to update packag…
Browse files Browse the repository at this point in the history
…e.json

Closes angular#7810
  • Loading branch information
Robert Messerle authored and gmoothart committed Apr 5, 2016
1 parent 8b7c20f commit 00fd230
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion release.js
Original file line number Diff line number Diff line change
Expand Up @@ -356,7 +356,7 @@
'git checkout master',
`git pull --rebase ${origin} master --strategy=theirs`,
`git checkout release/${newVersion} -- CHANGELOG.md`,
`node -e "${stringifyFunction(buildCommand)}"`,
`node -e "var newVersion = '${newVersion}'; ${stringifyFunction(buildCommand)}"`,
'git add CHANGELOG.md',
'git add package.json',
`git commit -m "update version number in package.json to ${newVersion}"`,
Expand Down

0 comments on commit 00fd230

Please sign in to comment.