downloads: Don't include .zsync files (#249)

Prevents the site from showing both AppImage and AppImage.zsync files for Linux.
This commit is contained in:
lat9nq 2021-01-15 13:27:57 -05:00 committed by GitHub
parent 3fdaa387b5
commit c9a5a7def5
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -50,6 +50,7 @@ function releaseCallback(v, count, e) {
if (asset.name.includes('RELEASES')) return; if (asset.name.includes('RELEASES')) return;
if (asset.name.includes('.tar.xz')) return; if (asset.name.includes('.tar.xz')) return;
if (asset.name.includes('-debugsymbols.zip')) return; if (asset.name.includes('-debugsymbols.zip')) return;
if (asset.name.includes('.zsync')) return;
/* We only want to provide the msvc builds on the downloads page for Windows. */ /* We only want to provide the msvc builds on the downloads page for Windows. */
if (asset.name.includes('-mingw-')) return; if (asset.name.includes('-mingw-')) return;