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:
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: