You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@cordova.apache.org by st...@apache.org on 2015/12/05 03:09:46 UTC

[2/2] cordova-coho git commit: updated platform release for ubuntu

updated platform release for ubuntu


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

Branch: refs/heads/master
Commit: 9fd94435e88dbfe8038f0e856f46a6e1d192aed8
Parents: 1587831
Author: Steve Gill <st...@gmail.com>
Authored: Fri Dec 4 18:09:39 2015 -0800
Committer: Steve Gill <st...@gmail.com>
Committed: Fri Dec 4 18:09:39 2015 -0800

----------------------------------------------------------------------
 src/platform-release.js | 4 +---
 1 file changed, 1 insertion(+), 3 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/cordova-coho/blob/9fd94435/src/platform-release.js
----------------------------------------------------------------------
diff --git a/src/platform-release.js b/src/platform-release.js
index f6e356c..6aed960 100644
--- a/src/platform-release.js
+++ b/src/platform-release.js
@@ -129,10 +129,8 @@ function *updateRepoVersion(repo, version) {
             shelljs.sed('-i', /VERSION.*=.*/, 'VERSION="' + version + '"', path.join('bin', 'templates', 'scripts', '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' || repo.id == 'browser') {
+        } else if (repo.id == 'firefoxos' || repo.id == 'browser' || 'ubuntu') {
             shelljs.sed('-i', /VERSION.*=.*;/, 'VERSION = "' + version + '";', path.join('bin', 'templates', 'project','cordova', 'version'));
-        } else if (repo.id == 'ubuntu') {
-            shelljs.sed('-i', /VERSION.*=.*;/, 'VERSION = "' + version + '";', path.join('bin', 'build', 'version'));
         } else if (repo.id == 'windows') {
             if(fs.existsSync(path.join('template', 'cordova', 'version'))) {
                 console.log('version exists');


---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@cordova.apache.org
For additional commands, e-mail: commits-help@cordova.apache.org