[ 
https://issues.apache.org/jira/browse/CB-8406?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14303190#comment-14303190
 ] 

ASF GitHub Bot commented on CB-8406:
------------------------------------

GitHub user omefire opened a pull request:

    https://github.com/apache/cordova-lib/pull/159

    CB-8406 BugFix: 'cordova platform update' should not be upgrading the pl...

    CB-8406:
    -'cordova platform update' updates platform to the version in config.xml 
instead of to the pinned version
    - details can be found in this jira: 
https://issues.apache.org/jira/browse/CB-8406


You can merge this pull request into a Git repository by running:

    $ git pull https://github.com/MSOpenTech/cordova-lib CB-8406

Alternatively you can review and apply these changes as the patch at:

    https://github.com/apache/cordova-lib/pull/159.patch

To close this pull request, make a commit to your master/trunk branch
with (at least) the following in the commit message:

    This closes #159
    
----
commit ac480f5f8d3c26993d8656a89c89500c6636e677
Author: Omar Mefire <[email protected]>
Date:   2015-02-03T12:26:23Z

    CB-8406 BugFix: 'cordova platform update' should not be upgrading the 
platform to the version found in config.xml, it should be upgrading to the 
pinned version.

----


> 'cordova platform update' updates platform to the version in config.xml 
> instead of pinned version
> -------------------------------------------------------------------------------------------------
>
>                 Key: CB-8406
>                 URL: https://issues.apache.org/jira/browse/CB-8406
>             Project: Apache Cordova
>          Issue Type: Bug
>          Components: CordovaLib
>    Affects Versions: Master
>            Reporter: Omar Mefire
>
> Suppose the latest android version is: 3.7.0 and my project contains android 
> version 3.5.0.
> When I run 'cordova platform update android' with my config.xml containing: 
> <cdv:engine id="android" version="3.6.0" />, my project's android platform is 
> going to be upgraded to 3.6.0 instead of being upgraded to 3.7.0.
> What happens is that it grabs the version from the config.xml if any and only 
> resorts to the latest pinned version (3.7.0) if the config.xml file is empty.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to