From f4f1f772c1eb649801dcb582bbaa890de8a34785 Mon Sep 17 00:00:00 2001 From: samccann Date: Fri, 29 Apr 2022 15:38:13 -0400 Subject: [PATCH] [stable-2.13] shift to ansible_core_version (cherry picked from commit 7471c036ec2358b48cec7bd476d5b5d14cca9ded) Co-authored-by: samccann --- .../build_library/build_ansible/command_plugins/docs_build.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/hacking/build_library/build_ansible/command_plugins/docs_build.py b/hacking/build_library/build_ansible/command_plugins/docs_build.py index 5a9833f187d..1b1351ca8c6 100644 --- a/hacking/build_library/build_ansible/command_plugins/docs_build.py +++ b/hacking/build_library/build_ansible/command_plugins/docs_build.py @@ -112,7 +112,7 @@ def generate_base_docs(args): # The _ansible_version doesn't matter since we're only building docs for base deps_file_contents = {'_ansible_version': ansible_base__version__, - '_ansible_base_version': ansible_base__version__} + '_ansible_core_version': ansible_base__version__} with open(modified_deps_file, 'w') as f: f.write(yaml.dump(deps_file_contents)) @@ -161,7 +161,7 @@ def generate_full_docs(args): with open(modified_deps_file, 'r') as f: deps_data = yaml.safe_load(f.read()) - deps_data['_ansible_base_version'] = ansible_base__version__ + deps_data['_ansible_core_version'] = ansible_base__version__ with open(modified_deps_file, 'w') as f: f.write(yaml.dump(deps_data))