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

cmake should error if calc_release_version.py returns 0.0.0

      Currently, if no git refs are found, calc_release_version.py reports the version as 0.0.0 and building. This can happen for example, if doing a shallow clone of the repository.

      $ git clone --depth=1 git@github.com:mongodb/mongo-c-driver.git 
      $ cd mongo-c-driver
      $ python ./build/calc_release_version.py
      0.0.0

      cmake should consider this an error.

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

              Created:
              Updated: