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 2013/03/28 23:08:14 UTC
git commit: removed platforms
Updated Branches:
refs/heads/master 894d54d1b -> 398594b61
removed platforms
Project: http://git-wip-us.apache.org/repos/asf/cordova-coho/repo
Commit: http://git-wip-us.apache.org/repos/asf/cordova-coho/commit/398594b6
Tree: http://git-wip-us.apache.org/repos/asf/cordova-coho/tree/398594b6
Diff: http://git-wip-us.apache.org/repos/asf/cordova-coho/diff/398594b6
Branch: refs/heads/master
Commit: 398594b61b258eadbb7eafa3c48898a379ee1c49
Parents: 894d54d
Author: steven gill <st...@apache.org>
Authored: Thu Mar 28 15:08:08 2013 -0700
Committer: steven gill <st...@apache.org>
Committed: Thu Mar 28 15:08:08 2013 -0700
----------------------------------------------------------------------
coho | 34 ++++++++++++++++++++++++++++------
1 files changed, 28 insertions(+), 6 deletions(-)
----------------------------------------------------------------------
http://git-wip-us.apache.org/repos/asf/cordova-coho/blob/398594b6/coho
----------------------------------------------------------------------
diff --git a/coho b/coho
index 307b237..bd788b9 100755
--- a/coho
+++ b/coho
@@ -23,7 +23,7 @@ if (!COMMAND) {
}
VERSION = process.argv[3]
if (!VERSION){
- VERSION = '2.4.0';
+ VERSION = '2.5.0';
}
OLDVER = process.argv[4]
@@ -49,11 +49,6 @@ var platformDict = {
"Windows":['https://git-wip-us.apache.org/repos/asf/cordova-windows.git', 'cordova-windows'],
"Windows Phone 7":['https://git-wip-us.apache.org/repos/asf/cordova-wp7.git', 'cordova-wp7'],
"Windows Phone 8":['https://git-wip-us.apache.org/repos/asf/cordova-wp8.git', 'cordova-wp8'],
- "Bada":['https://git-wip-us.apache.org/repos/asf/cordova-bada.git', 'cordova-bada'],
- "BadaWac":['https://git-wip-us.apache.org/repos/asf/cordova-bada-wac.git', 'cordova-bada-wac'],
- "WebOS":['https://git-wip-us.apache.org/repos/asf/cordova-webos.git', 'cordova-webos'],
- "Tizen":['https://git-wip-us.apache.org/repos/asf/cordova-tizen.git', 'cordova-tizen'],
- "QT":['https://git-wip-us.apache.org/repos/asf/cordova-qt.git', 'cordova-qt'],
"OSX":['https://git-wip-us.apache.org/repos/asf/cordova-osx.git', 'cordova-osx'],
"Docs":['https://git-wip-us.apache.org/repos/asf/cordova-docs.git', 'cordova-docs'],
"MobileSpec":['https://git-wip-us.apache.org/repos/asf/cordova-mobile-spec.git', 'cordova-mobile-spec'],
@@ -62,7 +57,13 @@ var platformDict = {
"Cordova CLI":['https://git-wip-us.apache.org/repos/asf/cordova-cli.git', 'cordova-cli']
};
+/* "Bada":['https://git-wip-us.apache.org/repos/asf/cordova-bada.git', 'cordova-bada'],
+ "BadaWac":['https://git-wip-us.apache.org/repos/asf/cordova-bada-wac.git', 'cordova-bada-wac'],
+ "WebOS":['https://git-wip-us.apache.org/repos/asf/cordova-webos.git', 'cordova-webos'],
+ "QT":['https://git-wip-us.apache.org/repos/asf/cordova-qt.git', 'cordova-qt'],
+ "Tizen":['https://git-wip-us.apache.org/repos/asf/cordova-tizen.git', 'cordova-tizen'],
+*/
//shjs.echo(shjs.ls('.'))
@@ -165,10 +166,31 @@ function signZip(){
});
}
+function apacheUpload(){
+ if (shjs.test('-d','./apachecordova')){
+ console.log('apachecordova directory exists');
+ shjs.exec("cd apachecordova && svn update");
+
+ }else{
+ //grab apachecordova repo off apache svn servers
+ shjs.exec("svn checkout https://dist.apache.org/repos/dist/release/cordova apachecordova")
+ }
+
+
+ /*svn checkout https://dist.apache.org/repos/dist/release/cordova apachecordova
+ add function to do rest of
+ delete all files
+ copy over release files
+ svn add *
+ svn commit -m*/
+}
+
if (COMMAND.toLowerCase() === 'all' || COMMAND.toLowerCase() === 'build' ){
prep();
}else if(COMMAND.toLowerCase() === 'sign'){
signZip();
+}else if(COMMAND.toLowerCase() === 'upload'){
+ apacheUpload();
}else{
console.log("Incorrect Arguments, please review the readme!");
}