1
0
mirror of https://github.com/tteck/Proxmox.git synced 2024-11-24 08:52:18 +02:00

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: