You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@cordova.apache.org by ag...@apache.org on 2013/05/30 04:37:37 UTC
git commit: Add blackberry VERSION file updating logic
Updated Branches:
refs/heads/master b56eea513 -> 1f4d7b4b6
Add blackberry VERSION file updating logic
Project: http://git-wip-us.apache.org/repos/asf/cordova-coho/repo
Commit: http://git-wip-us.apache.org/repos/asf/cordova-coho/commit/1f4d7b4b
Tree: http://git-wip-us.apache.org/repos/asf/cordova-coho/tree/1f4d7b4b
Diff: http://git-wip-us.apache.org/repos/asf/cordova-coho/diff/1f4d7b4b
Branch: refs/heads/master
Commit: 1f4d7b4b61cdbf1b783cd4cfc1fec83ee06e3181
Parents: b56eea5
Author: Andrew Grieve <ag...@chromium.org>
Authored: Wed May 29 22:37:11 2013 -0400
Committer: Andrew Grieve <ag...@chromium.org>
Committed: Wed May 29 22:37:11 2013 -0400
----------------------------------------------------------------------
coho | 6 ++++++
1 files changed, 6 insertions(+), 0 deletions(-)
----------------------------------------------------------------------
http://git-wip-us.apache.org/repos/asf/cordova-coho/blob/1f4d7b4b/coho
----------------------------------------------------------------------
diff --git a/coho b/coho
index d7fa27c..5391792 100755
--- a/coho
+++ b/coho
@@ -699,10 +699,16 @@ function createReleaseBranchCommand() {
var versionFilePath = 'VERSION';
if (repo.id == 'ios') {
versionFilePath = 'CordovaLib/VERSION';
+ } else if (repo.id == 'blackberry') {
+ versionFilePath = 'blackberry/VERSION';
}
if (fs.existsSync(versionFilePath)) {
console.log(repo.repoName + ': ' + 'Updating VERSION file.');
fs.writeFileSync(versionFilePath, version + '\n');
+ if (repo.id == 'blackberry') {
+ versionFilePath = 'blackberry10/VERSION';
+ fs.writeFileSync(versionFilePath, version + '\n');
+ }
if (repo.id == 'android') {
shjs.sed('-i', /cordovaVersion.*=.*;/, 'cordovaVersion = "' + version + '";', 'framework/src/org/apache/cordova/Device.java');
}