diff options
author | samccann <samccann@redhat.com> | 2022-04-29 15:38:13 -0400 |
---|---|---|
committer | Matt Clay <matt@mystile.com> | 2022-05-03 10:53:18 -0700 |
commit | 7471c036ec2358b48cec7bd476d5b5d14cca9ded (patch) | |
tree | 066a46a9dad8bf813536c4552c0098c45268b963 /hacking | |
parent | a1ddb83fc1936ced9e79c5b4e2fc64abe0ccc310 (diff) | |
download | ansible-7471c036ec2358b48cec7bd476d5b5d14cca9ded.tar.gz |
shift to ansible_core_version
Diffstat (limited to 'hacking')
-rw-r--r-- | hacking/build_library/build_ansible/command_plugins/docs_build.py | 4 |
1 files 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 361a8107f4..be56858c16 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)) |