1
0
mirror of https://github.com/trezor/trezor-firmware.git synced 2024-12-18 12:28:09 +00:00

chore(core): replace master branch comparison with main branch

[no changelog]
This commit is contained in:
grdddj 2023-11-08 09:58:10 +01:00 committed by Jiří Musil
parent 7f8b461548
commit 388354b83b

View File

@ -32,7 +32,7 @@ MAX_KB_ADDITION_TO_SUCCEED = 5
def download_and_get_latest_master_firmware_elf() -> Path:
url = "https://gitlab.com/satoshilabs/trezor/trezor-firmware/-/jobs/artifacts/master/download?job=core%20fw%20regular%20build"
url = "https://gitlab.com/satoshilabs/trezor/trezor-firmware/-/jobs/artifacts/main/download?job=core%20fw%20regular%20build"
req = requests.get(url)
tmp_dir = HERE / "tmp_for_master_elf"
zip_file = ZipFile(BytesIO(req.content))