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/07/31 23:52:04 UTC

[1/2] git commit: CB-7243 VERSION file is copied over in create platform script.

Repository: cordova-windows
Updated Branches:
  refs/heads/master 1b9c85b99 -> 320ea2b91


CB-7243 VERSION file is copied over in create platform script.


Project: http://git-wip-us.apache.org/repos/asf/cordova-windows/repo
Commit: http://git-wip-us.apache.org/repos/asf/cordova-windows/commit/8cfc84cc
Tree: http://git-wip-us.apache.org/repos/asf/cordova-windows/tree/8cfc84cc
Diff: http://git-wip-us.apache.org/repos/asf/cordova-windows/diff/8cfc84cc

Branch: refs/heads/master
Commit: 8cfc84ccd6abc45c5586f6e3356b2048759da3c0
Parents: 1b9c85b
Author: Jesse MacFadyen <pu...@gmail.com>
Authored: Thu Jul 31 14:48:16 2014 -0700
Committer: Jesse MacFadyen <pu...@gmail.com>
Committed: Thu Jul 31 14:49:17 2014 -0700

----------------------------------------------------------------------
 windows/VERSION          | 2 +-
 windows/bin/create.js    | 4 +++-
 windows/package.json     | 4 ++--
 windows/template/VERSION | 1 -
 4 files changed, 6 insertions(+), 5 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/cordova-windows/blob/8cfc84cc/windows/VERSION
----------------------------------------------------------------------
diff --git a/windows/VERSION b/windows/VERSION
index 216add7..fe9f137 100644
--- a/windows/VERSION
+++ b/windows/VERSION
@@ -1 +1 @@
-3.5.0-dev
\ No newline at end of file
+3.6.0-dev
\ No newline at end of file

http://git-wip-us.apache.org/repos/asf/cordova-windows/blob/8cfc84cc/windows/bin/create.js
----------------------------------------------------------------------
diff --git a/windows/bin/create.js b/windows/bin/create.js
index 2fb092b..2cc5ed3 100644
--- a/windows/bin/create.js
+++ b/windows/bin/create.js
@@ -144,6 +144,9 @@ function create(destPath, namespace, name, guid) {
 
     // Copy the template source files to the new destination
     fso.CopyFolder(srcPath,destPath);
+    // Copy our unique VERSION file, so peeps can tell what version this project was created from.
+    fso.CopyFile(ROOT +'\\VERSION',destPath + "\\" );
+
     var newProjGuid = guid || genGuid();
 
     // replace the guid in the AppManifest and deploy script
@@ -162,7 +165,6 @@ function create(destPath, namespace, name, guid) {
     replaceInFile(destPath + "\\package.store80.appxmanifest",/\$projectname\$/g,name);
     replaceInFile(destPath + "\\package.phone.appxmanifest",/\$projectname\$/g,name);
 
-
     // cleanup
 
     // Delete bld forder and bin folder

http://git-wip-us.apache.org/repos/asf/cordova-windows/blob/8cfc84cc/windows/package.json
----------------------------------------------------------------------
diff --git a/windows/package.json b/windows/package.json
index 65d60f0..7e71acd 100644
--- a/windows/package.json
+++ b/windows/package.json
@@ -1,11 +1,11 @@
 {
   "name": "cordova-windows",
-  "version": "3.5.0-dev",
+  "version": "3.6.0-dev",
   "description": "cordova-windows release",
   "main": "bin/create",
   "repository":{
     "type":"git",
-    "url":"https://github.com/msopentech/cordova-windows"
+    "url":"https://github.com/apache/cordova-windows"
   },
   "keywords": [
     "windows",

http://git-wip-us.apache.org/repos/asf/cordova-windows/blob/8cfc84cc/windows/template/VERSION
----------------------------------------------------------------------
diff --git a/windows/template/VERSION b/windows/template/VERSION
deleted file mode 100644
index 216add7..0000000
--- a/windows/template/VERSION
+++ /dev/null
@@ -1 +0,0 @@
-3.5.0-dev
\ No newline at end of file


[2/2] git commit: Merge pull request #2 from purplecabbage/CB-7243

Posted by pu...@apache.org.
Merge pull request #2 from purplecabbage/CB-7243

CB-7243 VERSION file is copied over in create platform script.

Project: http://git-wip-us.apache.org/repos/asf/cordova-windows/repo
Commit: http://git-wip-us.apache.org/repos/asf/cordova-windows/commit/320ea2b9
Tree: http://git-wip-us.apache.org/repos/asf/cordova-windows/tree/320ea2b9
Diff: http://git-wip-us.apache.org/repos/asf/cordova-windows/diff/320ea2b9

Branch: refs/heads/master
Commit: 320ea2b91b814582e06118763d2d185f9c267706
Parents: 1b9c85b 8cfc84c
Author: Jesse MacFadyen <pu...@gmail.com>
Authored: Thu Jul 31 14:51:28 2014 -0700
Committer: Jesse MacFadyen <pu...@gmail.com>
Committed: Thu Jul 31 14:51:28 2014 -0700

----------------------------------------------------------------------
 windows/VERSION          | 2 +-
 windows/bin/create.js    | 4 +++-
 windows/package.json     | 4 ++--
 windows/template/VERSION | 1 -
 4 files changed, 6 insertions(+), 5 deletions(-)
----------------------------------------------------------------------