cordova-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From bhigg...@apache.org
Subject git commit: [BlackBerry10] Update template version file on candance release
Date Wed, 27 Aug 2014 20:21:39 GMT
Repository: cordova-coho
Updated Branches:
  refs/heads/master 02988334b -> 727677f9e


[BlackBerry10] Update template version file on candance release


Project: http://git-wip-us.apache.org/repos/asf/cordova-coho/repo
Commit: http://git-wip-us.apache.org/repos/asf/cordova-coho/commit/727677f9
Tree: http://git-wip-us.apache.org/repos/asf/cordova-coho/tree/727677f9
Diff: http://git-wip-us.apache.org/repos/asf/cordova-coho/diff/727677f9

Branch: refs/heads/master
Commit: 727677f9e58597ee57213ea28b3acbbc8ddcbd48
Parents: 0298833
Author: Bryan Higgins <bhiggins@blackberry.com>
Authored: Wed Aug 27 16:20:40 2014 -0400
Committer: Bryan Higgins <bhiggins@blackberry.com>
Committed: Wed Aug 27 16:20:40 2014 -0400

----------------------------------------------------------------------
 src/cadance-release.js | 2 ++
 1 file changed, 2 insertions(+)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/cordova-coho/blob/727677f9/src/cadance-release.js
----------------------------------------------------------------------
diff --git a/src/cadance-release.js b/src/cadance-release.js
index afc92ce..78ca0b5 100644
--- a/src/cadance-release.js
+++ b/src/cadance-release.js
@@ -124,6 +124,8 @@ function *updateRepoVersion(repo, version) {
         if (repo.id == 'android' || repo.id == 'amazon-fireos') {
             shelljs.sed('-i', /CORDOVA_VERSION.*=.*;/, 'CORDOVA_VERSION = "' + version +
'";', path.join('framework', 'src', 'org', 'apache', 'cordova', 'CordovaWebView.java'));
             shelljs.sed('-i', /VERSION.*=.*;/, 'VERSION = "' + version + '";', path.join('bin',
'templates', 'cordova', 'version'));
+        } else if (repo.id == 'blackberry') {
+            shelljs.sed('-i', /VERSION.*=.*;/, 'VERSION = "' + version + '";', path.join('bin',
'templates', 'project','cordova', 'lib', 'version.js'));
         } else if (repo.id == 'firefoxos') {
             shelljs.sed('-i', /VERSION.*=.*;/, 'VERSION = "' + version + '";', path.join('bin',
'templates', 'project','cordova', 'version'));
         } else if (repo.id == 'ubuntu') {


Mime
View raw message