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.
Files changed (2) hide show
  1. package/lib/installer.js +4 -4
  2. 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 tarballUrl = release.tarball_url;
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 (!tarballUrl) {
384
- error('Release has no tarball URL.');
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(tarballUrl, tarballPath, token);
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);
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "iterate-skill-installer",
3
- "version": "2.2.8",
3
+ "version": "2.2.9",
4
4
  "description": "One-command installer for iterate-skill across AI coding assistants",
5
5
  "main": "lib/installer.js",
6
6
  "bin": {