Use the runtime python to generate the version information.

This commit is contained in:
Tom Rothamel
2023-05-15 08:52:20 -04:00
parent 14c06dd2e4
commit 06acc1984a
+2 -4
View File
@@ -119,10 +119,8 @@ def main():
# Determine the version. We grab the current revision, and if any
# file has changed, bump it by 1.
if "nightly" in args.version:
subprocess.check_call([ "./version.py", "--nightly" ])
else:
subprocess.check_call([ "./version.py" ])
import version as version_module
version_module.generate_vc_version(nightly=args.version and "nightly" in args.version)
if args.vc_version_only:
return