diff --git a/.gemini-plugin/plugin.json b/.gemini-plugin/plugin.json index 17aa8d8..b36cdd3 100644 --- a/.gemini-plugin/plugin.json +++ b/.gemini-plugin/plugin.json @@ -1,6 +1,6 @@ { "name": "everything-gemini-code", - "version": "1.2.1", + "version": "1.2.2", "description": "Complete collection of battle-tested Gemini CLI configurations - agents, skills, hooks, and rules evolved over 10+ months of intensive daily use", "author": { "name": "Jamkris", diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 956e5f6..8e886f3 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -92,10 +92,25 @@ jobs: if (mergedPRs.length === 0) { changelog += "_No pull requests merged since last release._"; } else { - const formatted = mergedPRs.map(pr => { - const cleanBody = pr.body?.trim() || "_No description provided._"; - return `### ${pr.title} (#${pr.number}) by @${pr.user.login}\n\n${cleanBody}`; - }); + const formatted = []; + for (const pr of mergedPRs) { + let body = pr.body?.trim(); + if (!body) { + // PR body가 없으면 커밋 목록으로 대체 + try { + const { data: commits } = await github.rest.pulls.listCommits({ + owner: context.repo.owner, + repo: context.repo.repo, + pull_number: pr.number, + per_page: 20 + }); + body = commits.map(c => `- ${c.commit.message.split('\n')[0]}`).join('\n'); + } catch { + body = '_No description provided._'; + } + } + formatted.push(`### ${pr.title} (#${pr.number}) by @${pr.user.login}\n\n${body}`); + } changelog += formatted.join("\n\n---\n\n"); } diff --git a/gemini-extension.json b/gemini-extension.json index cfb0b79..15e8653 100644 --- a/gemini-extension.json +++ b/gemini-extension.json @@ -1,6 +1,6 @@ { "name": "everything-gemini-code", - "version": "1.2.1", + "version": "1.2.2", "description": "Complete collection of Gemini CLI configurations adapted from everything-gemini-code - agents, skills, hooks, and rules", "author": { "name": "Jamkris", diff --git a/package.json b/package.json index f96c280..eb5fbcf 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "everything-gemini-code", - "version": "1.2.1", + "version": "1.2.2", "private": true, "description": "Battle-tested Gemini CLI configurations", "author": "Jamkris",