Uploaded image for project: 'Apache Cordova'
  1. Apache Cordova
  2. CB-11290

Platform's version should be defined in only one place

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Open
    • Major
    • Resolution: Unresolved
    • None
    • None
    • AllPlatforms
    • None

    Description

      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.

      The proposed approach is to store version in package.json

      References:

      Attachments

        Activity

          People

            Unassigned Unassigned
            vladimir.kotikov Vladimir Kotikov
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated: