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 2014/09/03 16:30:09 UTC

git commit: fixed issue with create archive for windows and wp8

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 <st...@gmail.com>
Authored: Wed Sep 3 07:29:53 2014 -0700
Committer: Steven Gill <st...@gmail.com>
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);