Skip to content

Commit

Permalink
update versions-schema and fix fallback solution (#87)
Browse files Browse the repository at this point in the history
  • Loading branch information
johnnychen94 authored Aug 1, 2021
1 parent 50c48bb commit fc86858
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
3 changes: 2 additions & 1 deletion jill/config/versions-schema.json
Original file line number Diff line number Diff line change
Expand Up @@ -120,7 +120,8 @@
"aarch64-linux-gnu",
"armv7l-linux-gnueabihf",
"x86_64-unknown-freebsd11.1",
"x86_64-linux-musl"
"x86_64-linux-musl",
"aarch64-apple-darwin14"
],
"title": "Triplet"
}
Expand Down
2 changes: 1 addition & 1 deletion jill/utils/version_utils.py
Original file line number Diff line number Diff line change
Expand Up @@ -100,7 +100,7 @@ def read_remote_versions(upstream, cache=dict()):
is_valid = False
print(
f'{color.YELLOW} failed to validate versions file, retry with latest schema...')
schema = json.load(requests.get(VERSIONS_SCHEMA_URL).text)
schema = requests.get(VERSIONS_SCHEMA_URL).json()
if not is_valid:
jsonschema.validate(version_list, schema)

Expand Down

0 comments on commit fc86858

Please sign in to comment.