We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 30560bb commit 8d8281fCopy full SHA for 8d8281f
build/azure-pipeline.pre-release.yml
@@ -29,6 +29,7 @@ extends:
29
parameters:
30
l10nSourcePaths: ./src
31
standardizedVersioning: true
32
+ ghCreateTag: false
33
buildPlatforms:
34
- name: Linux
35
vsceTarget: ''
noxfile.py
@@ -80,8 +80,8 @@ def download_url(values):
80
for value in values:
81
with url_lib.urlopen(value["url"]) as response:
82
data = response.read()
83
- name, digest = next(iter(value["hash"].items()))
84
- if hashlib.new(name, data).hexdigest() != digest:
+ digest = value["hash"]["sha256"]
+ if hashlib.new("sha256", data).hexdigest() != digest:
85
raise ValueError(f"Failed hash verification for {value['url']}.")
86
87
print("Download: ", value["url"])
0 commit comments