incubator-callback-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From ste...@apache.org
Subject [10/50] git commit: tidying up some code
Date Tue, 10 Apr 2012 19:15:19 GMT
tidying up some code


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

Branch: refs/heads/master
Commit: e3c2be06a5e0b9170bd6dde189850b1f0463667d
Parents: 2f0a72a
Author: Tim Kim <timk@adobe.com>
Authored: Wed Mar 21 12:27:31 2012 -0700
Committer: Tim Kim <timk@adobe.com>
Committed: Wed Mar 21 12:27:31 2012 -0700

----------------------------------------------------------------------
 coho |   21 ++++++++++++++++++---
 1 files changed, 18 insertions(+), 3 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/incubator-cordova-coho/blob/e3c2be06/coho
----------------------------------------------------------------------
diff --git a/coho b/coho
index 206419a..1d845f7 100755
--- a/coho
+++ b/coho
@@ -145,9 +145,24 @@ if (oldVer != undefined){
 queueCommand("cp NOTICE temp/release");
 
 // zip and sign bin/src/doc folders
-queueCommand("cd temp/release/bin && zip -r cordova-"+VERSION+"-incubating-bin.zip
* && gpg --armor --output cordova-"+VERSION+"-incubating-bin.zip.asc --detach-sig
cordova-"+VERSION+"-incubating-bin.zip && gpg --print-md MD5 cordova-"+VERSION+"-incubating-bin.zip
> cordova-"+VERSION+"-incubating-bin.zip.md5");
-queueCommand("cd temp/release/doc && zip -r cordova-"+VERSION+"-incubating-doc.zip
* && gpg --armor --output cordova-"+VERSION+"-incubating-doc.zip.asc --detach-sig
cordova-"+VERSION+"-incubating-doc.zip && gpg --print-md MD5 cordova-"+VERSION+"-incubating-doc.zip
> cordova-"+VERSION+"-incubating-doc.zip.md5");
-queueCommand("cd temp/release/src && zip -r cordova-"+VERSION+"-incubating-src.zip
* && gpg --armor --output cordova-"+VERSION+"-incubating-src.zip.asc --detach-sig
cordova-"+VERSION+"-incubating-src.zip && gpg --print-md MD5 cordova-"+VERSION+"-incubating-src.zip
> cordova-"+VERSION+"-incubating-src.zip.md5");
+var cordovaBinZip = "cordova-"+VERSION+"-incubating-bin.zip";
+var cordovaBinAsc = "cordova-"+VERSION+"-incubating-bin.zip.asc";
+var cordovaBinMd5 = "cordova-"+VERSION+"-incubating-bin.zip.md5";
+
+var cordovaDocZip = "cordova-"+VERSION+"-incubating-doc.zip";
+var cordovaDocAsc = "cordova-"+VERSION+"-incubating-doc.zip.asc";
+var cordovaDocMd5 = "cordova-"+VERSION+"-incubating-doc.zip.md5";
+
+var cordovaSrcZip = "cordova-"+VERSION+"-incubating-src.zip";
+var cordovaSrcAsc = "cordova-"+VERSION+"-incubating-src.zip.asc";
+var cordovaSrcMd5 = "cordova-"+VERSION+"-incubating-src.zip.md5";
+
+queueCommand("cd temp/release/bin && zip -r "+ cordovaBinZip +" * && gpg
--armor --output "+cordovaBinAsc+" --detach-sig "+cordovaBinZip+" && gpg --print-md
MD5 "+cordovaBinZip+" > " + cordovaBinMd5);
+queueCommand("cd temp/release/doc && zip -r "+cordovaDocZip+" * && gpg --armor
--output "+cordovaDocAsc+" --detach-sig "+cordovaDocZip+" && gpg --print-md MD5 "+cordovaDocZip+"
> " + cordovaDocMd5);
+queueCommand("cd temp/release/src && zip -r "+cordovaSrcZip+" * && gpg --armor
--output "+cordovaSrcAsc+" --detach-sig "+cordovaSrcZip+" && gpg --print-md MD5 "+cordovaSrcZip+"
> " + cordovaSrcMd5);
+
+
+// clean up
 
 executeCommands(function(){
 	exec("say DONE", function(e, stdout, stderr) {


Mime
View raw message