Uploaded image for project: 'C Driver'
  1. C Driver
  2. CDRIVER-3573

Do not hardcode VERSION_CURRENT in patch builds or old branches

    • Type: Icon: Task Task
    • Resolution: Fixed
    • Priority: Icon: Trivial - P5 Trivial - P5
    • 1.22.0, 1.22.0-beta0
    • Affects Version/s: None
    • Component/s: Testing
    • None

      calc_release_version.py reports the wrong version if on a non-release non-master branch. This was the cause of abi-compliance-check always failing on patches from GitHub PRs (because they were running from non-master branches).

      Additionally, calc_release_version.py run from a release non-master branch, uses the --merged option in git, which requires a newer version of git than we have on all variants. Example of a failing task on the r1.17 evergreen project.

      As a temporary workaround, I've hardcoded VERSION_CURRENT in the evergreen config.

            Assignee:
            kevin.albertson@mongodb.com Kevin Albertson
            Reporter:
            kevin.albertson@mongodb.com Kevin Albertson
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: