Return-Path: X-Original-To: apmail-cordova-commits-archive@www.apache.org Delivered-To: apmail-cordova-commits-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 5505711412 for ; Wed, 3 Sep 2014 14:58:14 +0000 (UTC) Received: (qmail 74921 invoked by uid 500); 3 Sep 2014 14:30:10 -0000 Delivered-To: apmail-cordova-commits-archive@cordova.apache.org Received: (qmail 74902 invoked by uid 500); 3 Sep 2014 14:30:10 -0000 Mailing-List: contact commits-help@cordova.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@cordova.apache.org Delivered-To: mailing list commits@cordova.apache.org Received: (qmail 74883 invoked by uid 99); 3 Sep 2014 14:30:10 -0000 Received: from tyr.zones.apache.org (HELO tyr.zones.apache.org) (140.211.11.114) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 03 Sep 2014 14:30:10 +0000 Received: by tyr.zones.apache.org (Postfix, from userid 65534) id E5CE0A061F7; Wed, 3 Sep 2014 14:30:09 +0000 (UTC) Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit From: steven@apache.org To: commits@cordova.apache.org Message-Id: X-Mailer: ASF-Git Admin Mailer Subject: git commit: fixed issue with create archive for windows and wp8 Date: Wed, 3 Sep 2014 14:30:09 +0000 (UTC) Repository: cordova-coho Updated Branches: refs/heads/master 8589dad16 -> f9c5a0bf9 fixed issue with create archive for windows and wp8 Project: http://git-wip-us.apache.org/repos/asf/cordova-coho/repo Commit: http://git-wip-us.apache.org/repos/asf/cordova-coho/commit/f9c5a0bf Tree: http://git-wip-us.apache.org/repos/asf/cordova-coho/tree/f9c5a0bf Diff: http://git-wip-us.apache.org/repos/asf/cordova-coho/diff/f9c5a0bf Branch: refs/heads/master Commit: f9c5a0bf9702109b0346fa442a6b9a19824e5be4 Parents: 8589dad Author: Steven Gill Authored: Wed Sep 3 07:29:53 2014 -0700 Committer: Steven Gill Committed: Wed Sep 3 07:30:06 2014 -0700 ---------------------------------------------------------------------- src/create-verify-archive.js | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/cordova-coho/blob/f9c5a0bf/src/create-verify-archive.js ---------------------------------------------------------------------- diff --git a/src/create-verify-archive.js b/src/create-verify-archive.js index 52946aa..2f6f52d 100644 --- a/src/create-verify-archive.js +++ b/src/create-verify-archive.js @@ -76,7 +76,9 @@ exports.createCommand = function*(argv) { apputil.fatal('Aborting because pending changes exist in ' + repo.repoName); } var cmd = 'npm pack'; - if (repo.id==='lib' || repo.id==='windows' || repo.id==='wp8') cmd = 'npm pack cordova-'+repo.id; + if (repo.id==='lib') cmd = 'npm pack cordova-'+repo.id; + if (repo.id==='windows' || repo.id==='wp8') cmd = 'npm pack '+repo.id; + var tgzname = yield executil.execHelper(executil.ARGS(cmd), true); var outPath = path.join(absOutDir, tgzname); shelljs.mv(tgzname, outPath);