Fix: Enhance asset filtering with dry run support and update platform architecture patterns

This commit is contained in:
2026-04-07 06:55:24 +02:00
parent d2f1cb9c1a
commit e7e7ee53f6
3 changed files with 22 additions and 9 deletions

View File

@@ -180,7 +180,7 @@ async function run() {
console.log(`Fetching latest release for ${repository}...`);
const release = await fetchLatestRelease(repository, token);
const asset = getMatchingAsset(release.assets, platformInfo, options.fileName, options.fileType);
const asset = getMatchingAsset(release.assets, platformInfo, options.fileName, options.fileType, options.dryRun);
const version = release.tag_name.replace(/^v/i, '');
const downloadUrl = asset.browser_download_url;