[CXX-2752] Establish a canonical location of VERSION_CURRENT file in project root directory Created: 12/Sep/23  Updated: 18/Sep/23

Status: Backlog
Project: C++ Driver
Component/s: None
Affects Version/s: None
Fix Version/s: None

Type: Improvement Priority: Unknown
Reporter: Ezra Chung Assignee: Unassigned
Resolution: Unresolved Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Issue Links:
Related
is related to CXX-2751 Distribution list does not correctly ... Closed

 Description   

The VERSION_CURRENT file is currently allowed to be specified as one of three options:

  1. None: BUILD_VERSION is set directly.
  2. ${PROJECT_SOURCE_DIR}/build/VERSION_CURRENT if (1) was not satisfied.
  3. ${CMAKE_BINARY_DIR}/VERSION_CURRENT, either already existing or generated by etc/calc_release_version.py, when (2) is not satisfied.

The placement of VERSION_CURRENT under ./build is unusual. We should consider moving it (2) into the root directory, and also move the location of the generated file (3) to the root directory as well, for consistency.

Consider also ensuring the VERSION_CURRENT file is generated if BUILD_VERSION is set manually.


Generated at Wed Feb 07 22:06:55 UTC 2024 using Jira 9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66.