Uploaded image for project: 'Libmongocrypt'
  1. Libmongocrypt
  2. MONGOCRYPT-206

Adjust GetVersion.cmake to produce dev versions recognizable by curator

    • Type: Icon: Task Task
    • Resolution: Fixed
    • Priority: Icon: Major - P3 Major - P3
    • 1.0.0-rc2
    • Affects Version/s: None
    • Component/s: cmake
    • None

      The curator tool, which we use to publish libmongocrypt packages into a PPA for users to be able to install, recognizes version numbers in the following way:

      • contains 'rc' -> is a release candidate (testing)
      • contains '-' and is not a release candidate -> is a development build
      • all others -> is a release build

      The way that GetVersion.cmake produces version numbers needs to be adjusted so that non-release and non-rc builds are always recognized as development builds by curator. That is, a version strategy is required where development builds take the last release version, increment the patch component, append '-dev', and then append the additional build information we prefer to have (currently build date and git commit hash).

            Assignee:
            roberto.sanchez@mongodb.com Roberto Sanchez
            Reporter:
            roberto.sanchez@mongodb.com Roberto Sanchez
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved: