Fix: Enhance asset filtering with dry run support and update platform architecture patterns
This commit is contained in:
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user