Update haos-vm.sh

This commit is contained in:
tteckster 2022-04-16 13:10:52 -04:00 committed by GitHub
parent cb0cad67ae
commit 4822a2d377
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -122,7 +122,7 @@ r = requests.get(url).json()
if "message" in r: if "message" in r:
exit() exit()
for release in r: for release in r:
if release["release"]: if not release["prerelease"]:
continue continue
for asset in release["assets"]: for asset in release["assets"]:
if asset["name"].find("$RELEASE_TYPE") != -1: if asset["name"].find("$RELEASE_TYPE") != -1: