Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix: resolve issue where certain artifacts would not be updated #1385

Merged
merged 1 commit into from May 27, 2021
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
6 changes: 2 additions & 4 deletions describe.py
Expand Up @@ -403,9 +403,7 @@ def document_api(name, version, uri, doc_destination_dir):
if resp.status == 200:
discovery = json.loads(content)
service = build_from_document(discovery)
version = safe_version(version)
doc_name = "{}.{}.json".format(name, version.replace("_", ""))

doc_name = "{}.{}.json".format(name, version)
discovery_file_path = DISCOVERY_DOC_DIR / doc_name
revision = None

Expand Down Expand Up @@ -435,7 +433,7 @@ def document_api(name, version, uri, doc_destination_dir):
return

document_collection_recursive(
service, "{}_{}.".format(name, version), discovery, discovery, doc_destination_dir
service, "{}_{}.".format(name, safe_version(version)), discovery, discovery, doc_destination_dir
)
parthea marked this conversation as resolved.
Show resolved Hide resolved


Expand Down