Uploaded image for project: 'Mender'
  1. Mender
  2. MEN-2257

Version option for mender-convert

    XMLWordPrintable

    Details

    • Type: Task
    • Status: Done
    • Priority: (None)
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 1.7.0
    • Labels:

      Description

      Before releasing we should have a version option to mender-convert, so users can see which version they are using. We simply tie this to the git version / tag they have checked out.

      In mender client we are using this code:

      git describe --tags --dirty --exact-match 2>/dev/null || git rev-parse --short HEAD
      

      Acceptance criteria

      • mender-convert supports a -v | --version option
      • the version is taken from the currently checked out git repository

        Attachments

          Activity

            People

            • Assignee:
              a10003 Eystein Maloy Stenberg
              Reporter:
              a10003 Eystein Maloy Stenberg
            • Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved:

                Summary Panel