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 2016/03/04 21:15:34 UTC

cordova-coho git commit: fixed osx release issue

Repository: cordova-coho
Updated Branches:
  refs/heads/master 90e43adbc -> 08fef1cd2


fixed osx release issue


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

Branch: refs/heads/master
Commit: 08fef1cd2cbf213038c1bc6c636472d30b91ac18
Parents: 90e43ad
Author: Steve Gill <st...@gmail.com>
Authored: Fri Mar 4 12:15:34 2016 -0800
Committer: Steve Gill <st...@gmail.com>
Committed: Fri Mar 4 12:15:34 2016 -0800

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


http://git-wip-us.apache.org/repos/asf/cordova-coho/blob/08fef1cd/src/platform-release.js
----------------------------------------------------------------------
diff --git a/src/platform-release.js b/src/platform-release.js
index 92c30fa..dd0df7f 100644
--- a/src/platform-release.js
+++ b/src/platform-release.js
@@ -125,8 +125,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 == 'ios') {
-            shelljs.sed('-i', /VERSION.*=.*/, 'VERSION="' + version + '"', path.join('bin', 'templates', 'scripts', 'cordova', 'version'));
+        } else if (repo.id == 'ios' || repo.id == 'osx') {
+            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' || repo.id == 'ubuntu') {


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