Update haos-vm.sh
This commit is contained in:
parent
cb0cad67ae
commit
4822a2d377
1 changed files with 1 additions and 1 deletions
|
@ -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:
|
||||||
|
|
Loading…
Reference in a new issue