You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@cordova.apache.org by pu...@apache.org on 2014/09/06 02:40:31 UTC
[1/2] git commit: Fixing paths for npm published versions
Repository: cordova-wp8
Updated Branches:
refs/heads/3.6.x 0a1915308 -> 79546dcec
Fixing paths for npm published versions
Project: http://git-wip-us.apache.org/repos/asf/cordova-wp8/repo
Commit: http://git-wip-us.apache.org/repos/asf/cordova-wp8/commit/53f98806
Tree: http://git-wip-us.apache.org/repos/asf/cordova-wp8/tree/53f98806
Diff: http://git-wip-us.apache.org/repos/asf/cordova-wp8/diff/53f98806
Branch: refs/heads/3.6.x
Commit: 53f98806eef67a8e103ec49a245ebaafd3db93b5
Parents: 0a19153
Author: Jesse MacFadyen <pu...@gmail.com>
Authored: Fri Sep 5 17:39:52 2014 -0700
Committer: Jesse MacFadyen <pu...@gmail.com>
Committed: Fri Sep 5 17:39:52 2014 -0700
----------------------------------------------------------------------
VERSION | 1 -
wp8/VERSION | 1 +
wp8/bin/createTemplates.js | 4 ++--
wp8/bin/lib/create.js | 2 +-
4 files changed, 4 insertions(+), 4 deletions(-)
----------------------------------------------------------------------
http://git-wip-us.apache.org/repos/asf/cordova-wp8/blob/53f98806/VERSION
----------------------------------------------------------------------
diff --git a/VERSION b/VERSION
deleted file mode 100644
index 9575d51..0000000
--- a/VERSION
+++ /dev/null
@@ -1 +0,0 @@
-3.6.1
http://git-wip-us.apache.org/repos/asf/cordova-wp8/blob/53f98806/wp8/VERSION
----------------------------------------------------------------------
diff --git a/wp8/VERSION b/wp8/VERSION
new file mode 100644
index 0000000..9575d51
--- /dev/null
+++ b/wp8/VERSION
@@ -0,0 +1 @@
+3.6.1
http://git-wip-us.apache.org/repos/asf/cordova-wp8/blob/53f98806/wp8/bin/createTemplates.js
----------------------------------------------------------------------
diff --git a/wp8/bin/createTemplates.js b/wp8/bin/createTemplates.js
index d50594b..6f0001f 100644
--- a/wp8/bin/createTemplates.js
+++ b/wp8/bin/createTemplates.js
@@ -175,7 +175,7 @@ function package_templates()
copyCommonScripts();
- copyFile(repoRoot + '\\VERSION',platformRoot + templatePath);
+ copyFile(platformRoot + '\\VERSION',platformRoot + templatePath);
copyFile(repoRoot + '\\wp8\\template\\cordova\\defaults.xml',platformRoot + templatePath + '\\config.xml');
@@ -320,5 +320,5 @@ function parseArgs() {
// MAIN
parseArgs();
// build/package the templates
-versionNum = read(repoRoot + "\\VERSION");
+versionNum = read(platformRoot + "\\VERSION");
package_templates(repoRoot);
http://git-wip-us.apache.org/repos/asf/cordova-wp8/blob/53f98806/wp8/bin/lib/create.js
----------------------------------------------------------------------
diff --git a/wp8/bin/lib/create.js b/wp8/bin/lib/create.js
index b42f03a..ab073ca 100644
--- a/wp8/bin/lib/create.js
+++ b/wp8/bin/lib/create.js
@@ -64,7 +64,7 @@ module.exports.run = function (argv) {
// Copy the template source files to the new destination
shell.cp("-rf", path.join(templatePath, '*'), projectPath);
// Copy our unique VERSION file, so peeps can tell what version this project was created from.
- shell.cp("-rf", path.join(platformRoot, "..", 'VERSION'), projectPath);
+ shell.cp("-rf", path.join(platformRoot, 'VERSION'), projectPath);
// copy the defaults.xml into config.xml so this project can be built when create is called minus the cordova-cli
shell.cp(path.join(projectPath, "cordova", "defaults.xml"), path.join(projectPath, "config.xml"));
[2/2] git commit: VERSION cannot have a newline ( currently )
Posted by pu...@apache.org.
VERSION cannot have a newline ( currently )
Project: http://git-wip-us.apache.org/repos/asf/cordova-wp8/repo
Commit: http://git-wip-us.apache.org/repos/asf/cordova-wp8/commit/79546dce
Tree: http://git-wip-us.apache.org/repos/asf/cordova-wp8/tree/79546dce
Diff: http://git-wip-us.apache.org/repos/asf/cordova-wp8/diff/79546dce
Branch: refs/heads/3.6.x
Commit: 79546dcec61cc64413d110840b899bc1aa607d29
Parents: 53f9880
Author: Jesse MacFadyen <pu...@gmail.com>
Authored: Fri Sep 5 17:40:16 2014 -0700
Committer: Jesse MacFadyen <pu...@gmail.com>
Committed: Fri Sep 5 17:40:16 2014 -0700
----------------------------------------------------------------------
wp8/VERSION | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
----------------------------------------------------------------------
http://git-wip-us.apache.org/repos/asf/cordova-wp8/blob/79546dce/wp8/VERSION
----------------------------------------------------------------------
diff --git a/wp8/VERSION b/wp8/VERSION
index 9575d51..d1428a7 100644
--- a/wp8/VERSION
+++ b/wp8/VERSION
@@ -1 +1 @@
-3.6.1
+3.6.1
\ No newline at end of file