hatch-vcs
hatch-vcs copied to clipboard
feat(version-source): mirror setuptools_scm override env vars for version
Description
We use hatch-vcs in all of our projects. There is a specific version format that they push to us on our build pipeline to align with their SCM reporting. The HATCH_VERSION_OVERRIDE variable will allow me to set that prior to our build so that their requirement is being used.
If this variable is not set then then default behavior takes over.
@ofek ready for review.
Thank you for the feedback @RonnyPfannschmidt. Do the changes that I made align with your suggestion? Let me know if it should be altered even further.