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/08/29 02:35:19 UTC

[1/2] git commit: updated coho

Updated Branches:
  refs/heads/master b4123d69f -> e1ade311b


updated coho


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/e1ade311
Tree: http://git-wip-us.apache.org/repos/asf/incubator-cordova-coho/tree/e1ade311
Diff: http://git-wip-us.apache.org/repos/asf/incubator-cordova-coho/diff/e1ade311

Branch: refs/heads/master
Commit: e1ade311b8264a9d70007f9863df684677e4a1e5
Parents: 76e61f9
Author: steven gill <st...@apache.org>
Authored: Fri Aug 24 12:06:41 2012 -0700
Committer: steven gill <st...@apache.org>
Committed: Fri Aug 24 12:06:41 2012 -0700

----------------------------------------------------------------------
 coho |   26 ++++++++++++++++----------
 1 files changed, 16 insertions(+), 10 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/incubator-cordova-coho/blob/e1ade311/coho
----------------------------------------------------------------------
diff --git a/coho b/coho
index d11f94e..1df3164 100755
--- a/coho
+++ b/coho
@@ -28,7 +28,7 @@ var util           = require('util')
 ,   fs			   = require('fs')
 ,   ios            = 'https://git-wip-us.apache.org/repos/asf/incubator-cordova-ios.git'
 ,   blackberry     = 'https://git-wip-us.apache.org/repos/asf/incubator-cordova-blackberry-webworks.git'
-,   android        = 'https://github.com/imhotep/incubator-cordova-android.git'
+,   android        = 'https://git-wip-us.apache.org/repos/asf/incubator-cordova-android.git'
 ,   windows        = 'https://git-wip-us.apache.org/repos/asf/incubator-cordova-wp7.git'
 ,   webos          = 'https://git-wip-us.apache.org/repos/asf/incubator-cordova-webos.git'
 ,   bada       	   = 'https://git-wip-us.apache.org/repos/asf/incubator-cordova-bada.git'
@@ -134,6 +134,7 @@ if (PLATFORM === "all" || PLATFORM === "blackberry") {
     queueCommand("cd " + tempRepoDir + "/"+blackberrydir+"/dist && cp -r ./* " + blackberryReleaseBinDir);
     queueCommand("cd " + tempRepoDir + "/"+blackberrydir+" && cp NOTICE ../../release/bin/blackberry");
 	queueCommand("cd " + tempRepoDir + "/"+blackberrydir+" && cp LICENSE ../../release/bin/blackberry");
+	queueCommand("cd " + tempRepoDir + "/"+blackberrydir+" && cp VERSION ../../release/bin/blackberry");
 	queueCommand("cd " + tempRepoDir + "/"+blackberrydir+" && cp -r bin ../../release/bin/blackberry/");
 }
 
@@ -141,11 +142,9 @@ if (PLATFORM === "all" || PLATFORM === "blackberry") {
 if (PLATFORM === "all" || PLATFORM === "android") {
 	queueCommand("cd temp/release/bin && mkdir android");
     queueCommand("echo 'Building Android'");
-    //queueCommand("cd " + tempRepoDir + " && git clone "+android+" && cd "+androiddir+" && git fetch --tags && git checkout "+VERSION);
-	queueCommand("cd " + tempRepoDir + " && git clone "+android+" && cd "+androiddir+" && git fetch --tags");
+    queueCommand("cd " + tempRepoDir + " && git clone "+android+" && cd "+androiddir+" && git fetch --tags && git checkout "+VERSION);
     queueCommand("cd " + tempRepoDir + " && cp -r " + androiddir + " " + releaseSrcDir);
     queueCommand("cd " + tempRepoDir + "/"+androiddir+" && cp LICENSE " + androidReleaseLicense + " && cp VERSION " + androidReleaseVersion + " && cp README.md " + androidReleaseBinDir + " && cp NOTICE " + androidReleaseBinDir);
-    queueCommand("cd " + tempRepoDir + "/"+androiddir+" && ant clean");
     queueCommand("cd " + tempRepoDir + "/"+androiddir+" && ./bin/create");
     queueCommand("cd " + tempRepoDir + "/"+androiddir+" && cp -rp example " + androidReleaseBinDir + "/example");
     queueCommand("cd " + tempRepoDir + "/"+androiddir+"/example && cp libs/cordova-"+VERSION+".jar ../" + androidReleaseBinDir);
@@ -195,8 +194,8 @@ if (PLATFORM === "all" || PLATFORM === "docs") {
     queueCommand("echo 'Building Documentation'");
     queueCommand("cd " + tempRepoDir + " && git clone "+docs+" && cd "+docsdir+" && git fetch --tags && git checkout "+VERSION);
     queueCommand("cd " + tempRepoDir + "/"+docsdir+" && ./bin/generate && cp -r public/en/"+VERSION+" " + releaseDocDir);
-	queueCommand("cp bin/NOTICE temp/release/doc/cordova-"+VERSION+"-incubating-doc/NOTICE");
-	queueCommand("cp bin/LICENSE temp/release/doc/cordova-"+VERSION+"-incubating-doc/LICENSE");
+	queueCommand("cp bin/NOTICE temp/release/doc/NOTICE");
+	queueCommand("cp bin/LICENSE temp/release/doc/LICENSE");
 }
 
 //symbian
@@ -216,25 +215,32 @@ queueCommand("cp bin/README.md temp/release/src/cordova-"+VERSION+"/README.MD")
 queueCommand("cp bin/NOTICE temp/release/src/cordova-"+VERSION+"/NOTICE");
 queueCommand("cp bin/LICENSE temp/release/src/cordova-"+VERSION+"/LICENSE");
 queueCommand("cp bin/DISCLAIMER temp/release/src/cordova-"+VERSION+"/DISCLAIMER");
-queueCommand("cp bin/README.md temp/release/bin/cordova-"+VERSION+"-incubating-bin/README.MD")
-queueCommand("cp bin/NOTICE temp/release/src/cordova-"+VERSION+"-incubating-bin/NOTICE");
-queueCommand("cp bin/LICENSE temp/release/src/cordova-"+VERSION+"-incubating-bin/LICENSE");
-queueCommand("cp bin/DISCLAIMER temp/release/src/cordova-"+VERSION+"-incubating-bin/DISCLAIMER");
+queueCommand("cp bin/README.md temp/release/bin/README.MD")
+queueCommand("cp bin/NOTICE temp/release/bin/NOTICE");
+queueCommand("cp bin/LICENSE temp/release/bin/LICENSE");
+queueCommand("cp bin/DISCLAIMER temp/release/bin/DISCLAIMER");
 
 if (oldVer != undefined){
+	queueCommand("echo IOS")
 	queueCommand("cd temp/release/ && touch changelog && echo 'ChangeLog' > changelog")
 	queueCommand("echo 'ios' >> temp/release/changelog")
 	queueCommand("cd " + tempRepoDir + "/"+iosdir+" && git shortlog --no-merges "+oldVer+".."+VERSION+" >> ../../release/changelog")
+	queueCommand("echo BB")
 	queueCommand("echo 'blackberry' >> temp/release/changelog")
 	queueCommand("cd " + tempRepoDir + "/"+blackberrydir+" && git shortlog --no-merges "+oldVer+".."+VERSION+" >> ../../release/changelog")
+	queueCommand("echo ANDROID")
 	queueCommand("echo 'android' >> temp/release/changelog")
 	queueCommand("cd " + tempRepoDir + "/"+androiddir+" && git shortlog --no-merges "+oldVer+".."+VERSION+" >> ../../release/changelog")
+	queueCommand("echo WINDOWS")
 	queueCommand("echo 'windows-phone' >> temp/release/changelog")
 	queueCommand("cd " + tempRepoDir + "/"+windowsdir+" && git shortlog --no-merges "+oldVer+".."+VERSION+" >> ../../release/changelog")
+	queueCommand("echo WEBOS")
 	queueCommand("echo 'webos' >> temp/release/changelog")
 	queueCommand("cd " + tempRepoDir + "/"+webosdir+" && git shortlog --no-merges "+oldVer+".."+VERSION+" >> ../../release/changelog")
+	queueCommand("echo BADA")
 	queueCommand("echo 'bada' >> temp/release/changelog")
 	queueCommand("cd " + tempRepoDir + "/"+badadir+" && git shortlog --no-merges "+oldVer+".."+VERSION+" >> ../../release/changelog")
+	queueCommand("echo BADAWAC")
 	queueCommand("echo 'badaWac' >> temp/release/changelog")
 	queueCommand("cd " + tempRepoDir + "/"+badaWacdir+" && git shortlog --no-merges "+oldVer+".."+VERSION+" >> ../../release/changelog")
 }