data-api-builder
data-api-builder copied to clipboard
Release branch's commit ID is included in the version Assembly metadata
Enabling deterministic builds appends the release branch's git commit ID to the assembly metadata.
So running dab --version
outputs the below
Displaying the git commit ID is unnecessary from the user's perspective.
Investigate and come up with a fix to output just the <major.minor.patch> (without including the git commit id hash)
Some options to consider:
- Possibility of just printing the <major.minor.patch> yet have the git commit id in the assembly metadata.
- Possiblity of including the commit id in the assembly metadata in a field other than the version number
This is due to commandlineparser's AutoHelper. The changes needed can be inferred from the suggestions here: https://github.com/commandlineparser/commandline/issues/757#issuecomment-1005505288
Docs with examples where we would implement our own method which printed out the help text. I didn't want to bloat #2086 even further. This may not be that big of a change, but requires its own troubleshooting. https://github.com/commandlineparser/commandline/wiki/HelpText-Configuration