You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@cordova.apache.org by ro...@apache.org on 2015/09/16 23:59:20 UTC

docs commit: CB-9408: Documented the new `windows-packageVersion` attribute on `` to allow Windows to have an independent binary version than its widget.. This closes #300

Repository: cordova-docs
Updated Branches:
  refs/heads/master 2bc44f59c -> 0c765fbe0


CB-9408: Documented the new `windows-packageVersion` attribute on
`<widget>` to allow Windows to have an independent binary version than its
widget.. This closes #300


Project: http://git-wip-us.apache.org/repos/asf/cordova-docs/repo
Commit: http://git-wip-us.apache.org/repos/asf/cordova-docs/commit/0c765fbe
Tree: http://git-wip-us.apache.org/repos/asf/cordova-docs/tree/0c765fbe
Diff: http://git-wip-us.apache.org/repos/asf/cordova-docs/diff/0c765fbe

Branch: refs/heads/master
Commit: 0c765fbe02ccca4eb9d2312c11741e7435eb9f27
Parents: 2bc44f5
Author: Rob Paveza <Ro...@microsoft.com>
Authored: Fri Jul 24 10:40:43 2015 -0700
Committer: Rob Paveza <Ro...@microsoft.com>
Committed: Wed Sep 16 14:59:03 2015 -0700

----------------------------------------------------------------------
 docs/en/edge/config_ref/index.md | 27 +++++++++++++++++----------
 1 file changed, 17 insertions(+), 10 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/cordova-docs/blob/0c765fbe/docs/en/edge/config_ref/index.md
----------------------------------------------------------------------
diff --git a/docs/en/edge/config_ref/index.md b/docs/en/edge/config_ref/index.md
index f02a2c4..401cf79 100644
--- a/docs/en/edge/config_ref/index.md
+++ b/docs/en/edge/config_ref/index.md
@@ -80,8 +80,9 @@ platforms:
   expressed in major/minor/patch notation.
 
   The widget tag can also have attributes that specify alternative versions,
-  namely versionCode for Android and CFBundleVersion for iOS. See the
-  Additional Versioning section below for details.
+  namely `versionCode` for Android, `CFBundleVersion` for iOS, and 
+  `packageVersion` for Windows. See the Additional Versioning section below 
+  for details.
 
 - The `<name>` element specifies the app's formal name, as it appears
   on the device's home screen and within app-store interfaces.
@@ -106,18 +107,23 @@ platforms:
 
 ### Additional Versioning
 
-Both, Android and iOS support a second version string (or number) in addition
-to the one visible in app stores,
-[versionCode](http://developer.android.com/tools/publishing/versioning.html)
-for Android and
-[CFBundleVersion](http://stackoverflow.com/questions/4933093/cfbundleversion-in-the-info-plist-upload-error)
-for iOS.
-Below is an example that explicitly sets versionCode and CFBundleVersion
+Android, iOS, and Windows support a second version string (or number) in 
+addition to the one visible in app stores:
+
+- [versionCode](http://developer.android.com/tools/publishing/versioning.html)
+  for Android
+- [CFBundleVersion](http://stackoverflow.com/questions/4933093/cfbundleversion-in-the-info-plist-upload-error)
+  for iOS
+- [packageVersion](https://msdn.microsoft.com/en-us/library/windows/apps/br211441.aspx)
+  for Windows
+
+Below is an example that explicitly sets these properties:
 
         <widget id="io.cordova.hellocordova"
           version="0.0.1"
           android-versionCode="7"
-          ios-CFBundleVersion="3.3.3">
+          ios-CFBundleVersion="3.3.3"
+          windows-packageVersion="1.0.1.2">
 
 If alternative version is not specified, the following
 defaults will be used:
@@ -125,6 +131,7 @@ defaults will be used:
         // assuming version = MAJOR.MINOR.PATCH-whatever
         versionCode = PATCH + MINOR * 100 + MAJOR * 10000
         CFBundleVersion = "MAJOR.MINOR.PATCH"
+        packageVersion = "MAJOR.MINOR.PATCH.0"
 
 ## Global Preferences
 


---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@cordova.apache.org
For additional commands, e-mail: commits-help@cordova.apache.org