Skip to content
Permalink
Browse files
fix: resolve issue where certain artifacts would not be updated (#1385)
  • Loading branch information
parthea committed May 27, 2021
1 parent 4c9ccb0 commit 31bbe51739f966491f1be8ab67c500c65c049daf
Showing with 2 additions and 4 deletions.
  1. +2 鈭4 describe.py
@@ -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

@@ -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
)


0 comments on commit 31bbe51

Please sign in to comment.