Vladimir Kotikov created CB-11290: ------------------------------------- Summary: Platform should have single source for its version Key: CB-11290 URL: https://issues.apache.org/jira/browse/CB-11290 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/CordovaWebView.java}} This variety of version sources is becoming too hard to maintain and may lead to various errors in released packages. References: - [coho {{updateRepoVersion}} method|https://github.com/apache/cordova-coho/blob/08fef1cd2cbf213038c1bc6c636472d30b91ac18/src/platform-release.js#L117] - [instructions on how to update platform's versionbefore release|https://github.com/apache/cordova-coho/blob/9eae0b924c382fe18530a31a785feeeb27bfe1ff/docs/platforms-release-process.md#prepare-release] -- This message was sent by Atlassian JIRA (v6.3.4#6332) --------------------------------------------------------------------- To unsubscribe, e-mail: issues-unsubscr...@cordova.apache.org For additional commands, e-mail: issues-h...@cordova.apache.org