cordova-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From ste...@apache.org
Subject git commit: fixed issue with create archive for windows and wp8
Date Wed, 03 Sep 2014 14:30:09 GMT
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 <stevengill97@gmail.com>
Authored: Wed Sep 3 07:29:53 2014 -0700
Committer: Steven Gill <stevengill97@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);


Mime
View raw message