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

mender: client version is incorrect

    Details

    • Type: Bug
    • Status: Done
    • Priority: Medium
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 1.1.0
    • Labels:

      Description

      Building client master branch with make, does this call to go build:

      go build -ldflags "-X main.Version=integration-0.1-219-g93ffd47" -v
      

      version information is extracted like this:

      VERSION = $(shell git describe --tags --always --dirty)
      

      However because of how tags are added, the only tag that is present on the master branch is integration-0.1. The release branches 1.0.x were tagged though, but never merged to master. That's why release tags will not be picked up by git describe --tags when building.

        Attachments

          Container Issues

            Activity

              People

              • Assignee:
                a10040 Kristian Amlie
                Reporter:
                mborzecki Maciej Borzecki
              • Votes:
                0 Vote for this issue
                Watchers:
                3 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved:

                  Zendesk Support

                    Summary Panel