Fixed testing of prerelease image

This commit is contained in:
whiskerz007 2020-05-28 17:09:40 +02:00
parent 2a70b855f5
commit 4410a19133
No known key found for this signature in database
GPG Key ID: A7EEAB6E1F1A6805

View File

@ -89,7 +89,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 not release['prerelease']: if release['prerelease']:
continue continue
for asset in release['assets']: for asset in release['assets']:
if asset['name'].endswith('$RELEASE_EXT'): if asset['name'].endswith('$RELEASE_EXT'):