{"record":{"id":"31b5cdc28fd4c204","repo":"midudev/autoskills","slug":"puedes-crearla-manualmente-repourl-releases-new-tag-v","errorCode":null,"errorMessage":"   Puedes crearla manualmente: ${repoUrl}/releases/new?tag=v${newVersion}","messagePattern":"   Puedes crearla manualmente: (.+?)/releases/new\\?tag=v(.+?)","errorType":"console","errorClass":null,"httpStatus":null,"severity":"info","filePath":"packages/autoskills/scripts/release.mjs","lineNumber":404,"sourceCode":"  const message = error instanceof Error ? error.message : String(error);\n  fail(`La release falló y se revirtieron los cambios locales.\\n${message}`);\n}\n\n// 11. Create GitHub release\nconsole.log(\"\\n🏷️  Creando GitHub Release...\");\nconst releaseNotes = changelogEntry.replace(/^## .*\\n\\n/, \"\");\nconst tempFile = resolve(ROOT, \".release-notes-tmp.md\");\nwriteFileSync(tempFile, releaseNotes);\n\ntry {\n  run(\n    `gh release create v${newVersion} --title \"v${newVersion}\" --notes-file .release-notes-tmp.md`,\n    { cwd: ROOT },\n  );\n  console.log(`✅ Release v${newVersion} creada en GitHub`);\n} catch {\n  console.warn(`⚠️  No se pudo crear la release en GitHub (¿tienes gh instalado y autenticado?)`);\n  console.warn(`   Puedes crearla manualmente: ${repoUrl}/releases/new?tag=v${newVersion}`);\n} finally {\n  try {\n    run(`rm .release-notes-tmp.md`);\n  } catch {}\n}\n\nconsole.log(`\\n🎉 ¡Release v${newVersion} completada!\\n`);\n","sourceCodeStart":386,"sourceCodeEnd":412,"githubUrl":"https://github.com/midudev/autoskills/blob/0ec725320d2137253ab2e68e7ba8a072148e741a/packages/autoskills/scripts/release.mjs#L386-L412","documentation":"This is the follow-up hint line (console.warn) printed immediately after the failed `gh release create` warning. It interpolates repoUrl to give the developer a direct browser URL to create the release manually. It is informational, not an error itself; it only appears when the gh CLI release creation failed.","triggerScenarios":"Always printed in the same catch block as error [24]: `gh release create v<newVersion>` failed and the script falls back to suggesting the manual GitHub releases page for tag v<newVersion>.","commonSituations":"Same as [24]: missing/unauthenticated gh CLI, existing release, or network issues; the developer sees this line and should open the URL to finish the release manually.","solutions":["Open the printed URL in a browser and create the release for tag v<newVersion> with the notes from .release-notes-tmp.md (note the temp file is deleted in the finally block — recover notes from git or CHANGELOG).","Fix gh (`gh auth login`) and create the release via CLI instead.","If repoUrl itself looks wrong in the message, verify the git remote (`git remote get-url origin`) that the script derives repoUrl from."],"exampleFix":"// before\n# notes lost after finally block deleted .release-notes-tmp.md\n// after\ngit log --oneline <lastTag>..HEAD > release-notes.md  # regenerate notes, then paste into the releases/new URL","handlingStrategy":"fallback","validationCode":"git remote get-url origin  # confirm repoUrl the script will interpolate is correct","typeGuard":null,"tryCatchPattern":null,"preventionTips":["Treat this hint line as the action item: open the URL and complete the release manually when the gh step fails.","Keep release notes recoverable (derive from CHANGELOG.md) since .release-notes-tmp.md is deleted in the finally block.","Verify the origin remote URL is correct so the suggested link points at the right repository."],"tags":["github","release","gh-cli","manual-step","hint"],"backgroundTag":"command-not-found","analyzedSha":"0ec725320d2137253ab2e68e7ba8a072148e741a","analyzedAt":"2026-09-15T14:12:31.090Z","contentChangedAt":"2026-09-15T14:12:31.090Z","schemaVersion":2},"datasetVersion":"2026-09-16T04:17:20.429Z"}