Update haos-vm.sh

pull/152/head
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
1 changed files with 1 additions and 1 deletions

View File

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