Skip to content
Draft
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 6 additions & 2 deletions ffmpeg/releases.js
Original file line number Diff line number Diff line change
Expand Up @@ -15,8 +15,8 @@ module.exports = function () {
return;
}

// remove README and LICENSE
return !['.README', '.LICENSE'].includes(path.extname(rel.name));
// keep only installable binary assets
return !['.README', '.LICENSE', '.gz'].includes(path.extname(rel.name));
})
.map(function (rel) {
rel.version = rel.version.replace(/^b/, '');
Expand All @@ -29,6 +29,10 @@ module.exports = function () {
rel.arch = '386';
} else if (/x64/.test(rel.name)) {
rel.arch = 'amd64';
} else if (/(arm64|aarch64)/.test(rel.name)) {
rel.arch = 'arm64';
} else if (/arm/.test(rel.name)) {
rel.arch = 'armv7';
}

return rel;
Expand Down
Loading