From 85f3b7823d2500dd3d54f76e4cf2462543d9c5aa Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jo=CC=88rn=20Zaefferer?= Date: Mon, 31 Mar 2014 22:29:17 +0200 Subject: [PATCH] Repo: Only update package.json with nextVersion Fixes gh-57 Closes gh-58 --- lib/repo.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/lib/repo.js b/lib/repo.js index 472dbbb..2f54e26 100644 --- a/lib/repo.js +++ b/lib/repo.js @@ -259,8 +259,8 @@ Release.define({ Release.exec( "git checkout " + Release.branch, "Error checking out " + Release.branch + " branch." ); - // Update all JSON versions - Release._setVersion( Release.nextVersion ); + // Update only canonical version + Release._versionJSON( "package.json", Release.nextVersion ); console.log( "Committing version update..." ); Release.exec( "git commit -am 'Build: Updating the " + Release.branch +