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 2012/04/10 21:15:20 UTC
[37/50] git commit: starting to add support for changes.txt
starting to add support for changes.txt
Project: http://git-wip-us.apache.org/repos/asf/incubator-cordova-coho/repo
Commit: http://git-wip-us.apache.org/repos/asf/incubator-cordova-coho/commit/7dc31651
Tree: http://git-wip-us.apache.org/repos/asf/incubator-cordova-coho/tree/7dc31651
Diff: http://git-wip-us.apache.org/repos/asf/incubator-cordova-coho/diff/7dc31651
Branch: refs/heads/master
Commit: 7dc31651a12d82d4ebabd0a5620829dfa11507c2
Parents: d3ebe8a
Author: stevengill <st...@nitobi.com>
Authored: Fri Jan 27 14:36:20 2012 -0800
Committer: stevengill <st...@nitobi.com>
Committed: Fri Jan 27 14:36:20 2012 -0800
----------------------------------------------------------------------
README.md | 8 ++++++--
coho | 13 +++++++++++--
2 files changed, 17 insertions(+), 4 deletions(-)
----------------------------------------------------------------------
http://git-wip-us.apache.org/repos/asf/incubator-cordova-coho/blob/7dc31651/README.md
----------------------------------------------------------------------
diff --git a/README.md b/README.md
index f54fd3e..363fd76 100644
--- a/README.md
+++ b/README.md
@@ -12,8 +12,12 @@ Perquisites
Usage
=====
- coho 1.2
- // creates phonegap-1.2.zip
+ coho 1.3.0
+ // creates phonegap-1.3.0.zip
+
+ coho 1.3.0 1.2.0
+ // creates phonegap-1.3.0.zip with the changes made since 1.2.0
+
### the process
http://git-wip-us.apache.org/repos/asf/incubator-cordova-coho/blob/7dc31651/coho
----------------------------------------------------------------------
diff --git a/coho b/coho
index 293df14..a3bed36 100755
--- a/coho
+++ b/coho
@@ -52,7 +52,7 @@ function executeCommands(callback) {
queueCommand("rm -rf temp && mkdir temp && cd temp && mkdir repositories && mkdir release");
queueCommand("cd temp/release && mkdir lib && cd lib && mkdir ios && mkdir android && mkdir blackberry && mkdir windows && mkdir webos && mkdir symbian && mkdir bada");
-
+/*
//ios
queueCommand("cd temp/repositories && git clone "+ios+" && cd "+iosdir+" && git fetch --tags && git checkout "+VERSION);
queueCommand("cd temp/repositories/"+iosdir+" && make");
@@ -86,7 +86,7 @@ queueCommand("cd temp/repositories/"+badadir+" && cp -r ./* ../../release/lib/ba
//docs
queueCommand("cd temp/repositories && git clone "+docs+" && cd "+docsdir+" && git fetch --tags && git checkout "+VERSION);
queueCommand("cd temp/repositories/"+docsdir+" && ./bin/phonegap-docs && cp -r public ../../release/doc");
-
+*/
//symbian
fs.writeFile('depreciate.txt', 'PhoneGap-Symbian is being depreciated. You can find the last available code at https://github.com/callback/callback-symbian.', function (err) {
if (err) throw err;
@@ -94,6 +94,15 @@ fs.writeFile('depreciate.txt', 'PhoneGap-Symbian is being depreciated. You can f
});
queueCommand("mv depreciate.txt temp/release/lib/symbian/depreciate.txt")
+if (process.argv[3] != undefined){
+ queueCommand()
+ queueCommand()
+ queueCommand()
+ queueCommand()
+ queueCommand()
+ queueCommand()
+}
+
executeCommands(function(){
exec("cd temp/release && git archive master -o phonegap-"+VERSION+".zip", function(e, stdout, stderr) {
});