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/fd3bb980 Tree: http://git-wip-us.apache.org/repos/asf/incubator-cordova-coho/tree/fd3bb980 Diff: http://git-wip-us.apache.org/repos/asf/incubator-cordova-coho/diff/fd3bb980 Branch: refs/heads/master Commit: fd3bb980bff1bca0b61f31c93c540760fd0b8313 Parents: a22dbed Author: steven gill <[email protected]> Authored: Thu Nov 8 14:22:58 2012 -0800 Committer: steven gill <[email protected]> Committed: Thu Nov 8 14:22:58 2012 -0800 ---------------------------------------------------------------------- bin/LICENSE | 2 +- coho | 24 ++++++++++++++++++------ 2 files changed, 19 insertions(+), 7 deletions(-) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/incubator-cordova-coho/blob/fd3bb980/bin/LICENSE ---------------------------------------------------------------------- diff --git a/bin/LICENSE b/bin/LICENSE index 8008275..a94cbb0 100644 --- a/bin/LICENSE +++ b/bin/LICENSE @@ -380,7 +380,7 @@ THE SOFTWARE. /* File: PhoneGapLib/classes/Reachability.* - Abstract: Basic demonstration of how to use the SystemConfiguration Reachablity APIs. + Abstract: Basic demonstration of how to use the SystemConfiguration Reachability APIs. Version: 2.2 http://git-wip-us.apache.org/repos/asf/incubator-cordova-coho/blob/fd3bb980/coho ---------------------------------------------------------------------- diff --git a/coho b/coho index c527c34..406c00c 100755 --- a/coho +++ b/coho @@ -29,7 +29,8 @@ var util = require('util') , 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://git-wip-us.apache.org/repos/asf/incubator-cordova-android.git' -, windows = 'https://git-wip-us.apache.org/repos/asf/incubator-cordova-wp7.git' +, windows = 'https://git-wip-us.apache.org/repos/asf/incubator-cordova-windows.git' +, windowsph = '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' , badaWac = 'https://git-wip-us.apache.org/repos/asf/incubator-cordova-bada-wac.git' @@ -43,7 +44,8 @@ var util = require('util') , iosdir = 'incubator-cordova-ios' , blackberrydir = 'incubator-cordova-blackberry-webworks' , androiddir = 'incubator-cordova-android' -, windowsdir = 'incubator-cordova-wp7' +, windowsphdir = 'incubator-cordova-wp7' +, windowsdir = 'incubator-cordova-windows' , webosdir = 'incubator-cordova-webos' , badadir = 'incubator-cordova-bada' , badaWacdir = 'incubator-cordova-bada-wac' @@ -117,13 +119,20 @@ if (PLATFORM === "all" || PLATFORM === "android") { queueCommand("cd " + tempRepoDir + " && cd " + androiddir + " && git archive --format zip -o " + releaseSrcDir+"/"+androiddir+".zip "+VERSION); } -//windows phone -if (PLATFORM === "all" || PLATFORM === "wp") { +//windows +if (PLATFORM === "all" || PLATFORM === "windows") { queueCommand("echo 'Cloning Windows Phone'"); queueCommand("cd " + tempRepoDir + " && git clone "+windows+" && cd "+windowsdir+" && git fetch --tags && git checkout "+VERSION); queueCommand("cd " + tempRepoDir + " && cd " + windowsdir + " && git archive --format zip -o " + releaseSrcDir+"/"+windowsdir+".zip "+VERSION); } +//windows phone +if (PLATFORM === "all" || PLATFORM === "wp") { + queueCommand("echo 'Cloning Windows Phone'"); + queueCommand("cd " + tempRepoDir + " && git clone "+windowsph+" && cd "+windowsphdir+" && git fetch --tags && git checkout "+VERSION); + queueCommand("cd " + tempRepoDir + " && cd " + windowsphdir + " && git archive --format zip -o " + releaseSrcDir+"/"+windowsphdir+".zip "+VERSION); +} + //webos if (PLATFORM === "all" || PLATFORM === "webos") { queueCommand("echo 'Cloning WebOS'"); @@ -216,9 +225,12 @@ if (oldVer != undefined){ queueCommand("echo ANDROID") queueCommand("echo '\nAndroid \n-------\n' >> temp/release/src/cordova-"+VERSION+"/changelog") queueCommand("cd " + tempRepoDir + "/"+androiddir+" && git log --format='%h %s' "+oldVer+".."+VERSION+" >> "+releaseSrcDir+"/changelog") - queueCommand("echo WINDOWS PHONE") - queueCommand("echo '\nWindows Phone \n-------------\n' >> temp/release/src/cordova-"+VERSION+"/changelog") + queueCommand("echo WINDOWS") + queueCommand("echo '\nWindows \n-------------\n' >> temp/release/src/cordova-"+VERSION+"/changelog") queueCommand("cd " + tempRepoDir + "/"+windowsdir+" && git log --format='%h %s' "+oldVer+".."+VERSION+" >> "+releaseSrcDir+"/changelog") + queueCommand("echo WINDOWS PHONE 7") + queueCommand("echo '\nWindows Phone 7 \n-------------\n' >> temp/release/src/cordova-"+VERSION+"/changelog") + queueCommand("cd " + tempRepoDir + "/"+windowsphdir+" && git log --format='%h %s' "+oldVer+".."+VERSION+" >> "+releaseSrcDir+"/changelog") queueCommand("echo WEBOS") queueCommand("echo '\nWebOS \n-----\n' >> temp/release/src/cordova-"+VERSION+"/changelog") queueCommand("cd " + tempRepoDir + "/"+webosdir+" && git log --format='%h %s' "+oldVer+".."+VERSION+" >> "+releaseSrcDir+"/changelog")
