Skip to content

Commit 83daaab

Browse files
authored
Merge pull request #31 from Jamkris/refactor/all
Refactor/all
2 parents b02e54a + 760d152 commit 83daaab

4 files changed

Lines changed: 22 additions & 7 deletions

File tree

.gemini-plugin/plugin.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "everything-gemini-code",
3-
"version": "1.2.1",
3+
"version": "1.2.2",
44
"description": "Complete collection of battle-tested Gemini CLI configurations - agents, skills, hooks, and rules evolved over 10+ months of intensive daily use",
55
"author": {
66
"name": "Jamkris",

.github/workflows/release.yml

Lines changed: 19 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -92,10 +92,25 @@ jobs:
9292
if (mergedPRs.length === 0) {
9393
changelog += "_No pull requests merged since last release._";
9494
} else {
95-
const formatted = mergedPRs.map(pr => {
96-
const cleanBody = pr.body?.trim() || "_No description provided._";
97-
return `### ${pr.title} (#${pr.number}) by @${pr.user.login}\n\n${cleanBody}`;
98-
});
95+
const formatted = [];
96+
for (const pr of mergedPRs) {
97+
let body = pr.body?.trim();
98+
if (!body) {
99+
// PR body가 없으면 커밋 목록으로 대체
100+
try {
101+
const { data: commits } = await github.rest.pulls.listCommits({
102+
owner: context.repo.owner,
103+
repo: context.repo.repo,
104+
pull_number: pr.number,
105+
per_page: 20
106+
});
107+
body = commits.map(c => `- ${c.commit.message.split('\n')[0]}`).join('\n');
108+
} catch {
109+
body = '_No description provided._';
110+
}
111+
}
112+
formatted.push(`### ${pr.title} (#${pr.number}) by @${pr.user.login}\n\n${body}`);
113+
}
99114
changelog += formatted.join("\n\n---\n\n");
100115
}
101116

gemini-extension.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "everything-gemini-code",
3-
"version": "1.2.1",
3+
"version": "1.2.2",
44
"description": "Complete collection of Gemini CLI configurations adapted from everything-gemini-code - agents, skills, hooks, and rules",
55
"author": {
66
"name": "Jamkris",

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "everything-gemini-code",
3-
"version": "1.2.1",
3+
"version": "1.2.2",
44
"private": true,
55
"description": "Battle-tested Gemini CLI configurations",
66
"author": "Jamkris",

0 commit comments

Comments
 (0)