From 4822a2d377726ef86f13a8c517f2cee977772705 Mon Sep 17 00:00:00 2001 From: tteckster Date: Sat, 16 Apr 2022 13:10:52 -0400 Subject: [PATCH] Update haos-vm.sh --- vm/haos-vm.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/vm/haos-vm.sh b/vm/haos-vm.sh index 8be5ed0c..639ec10f 100644 --- a/vm/haos-vm.sh +++ b/vm/haos-vm.sh @@ -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: