You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@cordova.apache.org by cs...@apache.org on 2014/05/20 19:29:35 UTC

git commit: CB-6718 cordova firefox reports wrong version

Repository: cordova-coho
Updated Branches:
  refs/heads/CB-6718 [created] cadf0b374


CB-6718 cordova firefox reports wrong version


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

Branch: refs/heads/CB-6718
Commit: cadf0b374468ea8c40a3a46f23334a9881b12792
Parents: 599ff20
Author: Carlos Santana <cs...@gmail.com>
Authored: Tue May 20 12:15:53 2014 -0400
Committer: Carlos Santana <cs...@gmail.com>
Committed: Tue May 20 13:23:13 2014 -0400

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


http://git-wip-us.apache.org/repos/asf/cordova-coho/blob/cadf0b37/src/cadance-release.js
----------------------------------------------------------------------
diff --git a/src/cadance-release.js b/src/cadance-release.js
index 8d8056f..dcdd245 100644
--- a/src/cadance-release.js
+++ b/src/cadance-release.js
@@ -124,6 +124,8 @@ function *updateRepoVersion(repo, version) {
         if (repo.id == 'android') {
             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 == 'firefoxos') {
+            shelljs.sed('-i', /VERSION.*=.*;/, 'VERSION = "' + version + '";', path.join('bin', 'templates', 'project','cordova', 'version'));
         }
         shelljs.config.fatal = false;
         if (!(yield gitutil.pendingChangesExist())) {