cmake should error if calc_release_version.py returns 0.0.0

XMLWordPrintableJSON

    • Not Needed
    • None
    • Hide

      1. What would you like to communicate to the user about this feature?
      2. Would you like the user to see examples of the syntax and/or executable code and its output?
      3. Which versions of the driver/connector does this apply to?

      Show
      1. What would you like to communicate to the user about this feature? 2. Would you like the user to see examples of the syntax and/or executable code and its output? 3. Which versions of the driver/connector does this apply to?
    • None
    • None
    • None
    • None
    • None
    • None

      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
              Reporter:
              Kevin Albertson
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

                Created:
                Updated:
                Resolved: