Uploaded image for project: 'Titanium SDK/CLI'
  1. Titanium SDK/CLI
  2. TIMOB-16974

CLI: 'ti sdk' lists sdks by folder name alphabetically. If an earlier sdk is listed first then 'ti sdk select latest' actually selects an earlier version

    Details

    • Sprint:
      2014 Sprint 10 Tooling

      Description

      Description

      Say you have 3.3.0 and 3.2.3 sdk installed. You rename 3.2.3 to 'a' and 3.3.0 to 'b' and run ti sdk, it will list 3.2.3 first as it is alphabetically earlier that 3.3.0.
      Running ti sdk select latest just picks the top value of ti sdk, which is now 3.2.3 not 3.3.0.

      Steps To Reproduce

      1. Rename your earliest installed sdk to 'a'
      2. Run 'ti sdk select latest'
      3. Run 'ti sdk'

      Actual Result

      'ti sdk select latest' selects the earlier sdk

      Expected Result

      'ti sdk select latest' should select the latest version number, not version name.

        Attachments

          Activity

            People

            • Assignee:
              cbarber Chris Barber
              Reporter:
              sdowse Samuel Dowse
              Reviewer:
              Tim Poulsen
            • Watchers:
              1 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved:

                Backbone Issue Sync

                • Titanium SDK/CLI <> Titanium Mobile
                  Synced with:
                  TIMOB-18713
                  Sync status:
                  ERROR
                  Last received:
                  Last sent:

                  Git Source Code