cordova-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From ste...@apache.org
Subject [08/13] git commit: added ios version script update
Date Thu, 25 Sep 2014 01:18:35 GMT
added ios version script update


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

Branch: refs/heads/master
Commit: 687dca82dda4853bb4292b6139ea46582be80097
Parents: 8128799
Author: Steven Gill <stevengill97@gmail.com>
Authored: Fri Aug 29 12:43:15 2014 -0700
Committer: Steven Gill <stevengill97@gmail.com>
Committed: Wed Sep 24 18:01:40 2014 -0700

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


http://git-wip-us.apache.org/repos/asf/cordova-coho/blob/687dca82/src/platform-release.js
----------------------------------------------------------------------
diff --git a/src/platform-release.js b/src/platform-release.js
index 5a54672..debf053 100644
--- a/src/platform-release.js
+++ b/src/platform-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 == 'ios') {
+            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') {


Mime
View raw message