CXX-2832 Restore VERSION_CURRENT
in release tarball
#1092
Merged
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Summary
Restore the VERSION_CURRENT file in the tarball produced by the
dist
target.Background & Motivation
The 3.8.1 release tarball includes the file
build/VERSION_CURRENT
. The 3.9.0 release tarball (currently) does not include abuild/VERSION_CURRENT
file. This requires users to specify the version when building.The missing
VERSION_CURRENT
file was discovered investigating CDRIVER-4834. It appears to be the result of changes in #1020.Building the
dist
target on b133ac5 results in theVERSION_CURRENT
file being omitted:This PR changes the path to
VERSION_CURRENT
from absolute to relative to address this error:The
distcheck
target has been updated to ensureVERSION_CURRENT
is present.Once this PR is merged, I plan to update the 3.9.0 release tarball to include the
VERSION_CURRENT
file.