cordova-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Steve Gill (JIRA)" <>
Subject [jira] [Commented] (CB-11290) Platform's version should be defined in only one place
Date Fri, 27 May 2016 18:23:12 GMT


Steve Gill commented on CB-11290:

Are you suggesting removing the version from those other places and pulling it from package.json
when needed?

> Platform's version should be defined in only one place
> ------------------------------------------------------
>                 Key: CB-11290
>                 URL:
>             Project: Apache Cordova
>          Issue Type: Improvement
>            Reporter: Vladimir Kotikov
> Currently every platform has a multiple places where the version is kept and should be
updated on every version bump. E.g. for android platform these places are:
> - {{package.json}}
> - {{VERSION}} plain-text file at the root of the platform's package
> - {{version}} executable script in {{bin/templates/cordova/version}} (copied to {{cordova/version}}
after platform is added to the project)
> - {{CORDOVA_VERSION}} variable in {{framework/src/org/apache/cordova/}}
> This variety of version sources is becoming too hard to maintain and may lead to various
errors in released packages.
> The proposed approach is to store version in {{package.json}}
> References:
> - [coho {{updateRepoVersion}} method|]
> - [instructions on how to update platform's versionbefore release|]

This message was sent by Atlassian JIRA

To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message