Skip to content

Commit 85f3b78

Browse files
committed
Repo: Only update package.json with nextVersion
Fixes gh-57 Closes gh-58
1 parent d9343ef commit 85f3b78

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

lib/repo.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -259,8 +259,8 @@ Release.define({
259259
Release.exec( "git checkout " + Release.branch,
260260
"Error checking out " + Release.branch + " branch." );
261261

262-
// Update all JSON versions
263-
Release._setVersion( Release.nextVersion );
262+
// Update only canonical version
263+
Release._versionJSON( "package.json", Release.nextVersion );
264264

265265
console.log( "Committing version update..." );
266266
Release.exec( "git commit -am 'Build: Updating the " + Release.branch +

0 commit comments

Comments
 (0)