cordova-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From purplecabb...@apache.org
Subject [1/2] git commit: CB-7243 VERSION file is copied over in create platform script.
Date Thu, 31 Jul 2014 21:52:04 GMT
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 <purplecabbage@gmail.com>
Authored: Thu Jul 31 14:48:16 2014 -0700
Committer: Jesse MacFadyen <purplecabbage@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


Mime
View raw message