iterate-skill-installer 2.2.8 → 2.2.9
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/lib/installer.js +4 -4
- package/package.json +1 -1
package/lib/installer.js
CHANGED
|
@@ -377,11 +377,11 @@ async function main(options = {}) {
|
|
|
377
377
|
}
|
|
378
378
|
success(`Latest release: ${tag}`);
|
|
379
379
|
|
|
380
|
-
const
|
|
380
|
+
const tarballAsset = release.assets?.find((a) => a.name === 'iterate-skill.tar.gz');
|
|
381
381
|
const checksumAsset = release.assets?.find((a) => a.name === 'SHA256SUMS.txt');
|
|
382
382
|
|
|
383
|
-
if (!
|
|
384
|
-
error('Release
|
|
383
|
+
if (!tarballAsset) {
|
|
384
|
+
error('Release is missing the iterate-skill.tar.gz asset.');
|
|
385
385
|
return 1;
|
|
386
386
|
}
|
|
387
387
|
if (!checksumAsset) {
|
|
@@ -395,7 +395,7 @@ async function main(options = {}) {
|
|
|
395
395
|
|
|
396
396
|
try {
|
|
397
397
|
info('Downloading release tarball...');
|
|
398
|
-
await downloadFile(
|
|
398
|
+
await downloadFile(tarballAsset.browser_download_url, tarballPath, token);
|
|
399
399
|
|
|
400
400
|
info('Downloading checksums...');
|
|
401
401
|
await downloadFile(checksumAsset.browser_download_url, checksumPath, token);
|