Skip to content

Commit 899c3d5

Browse files
theoephraimclaude
andcommitted
Add frog images and include talking frog in version PR description
Also update existing PRs with latest title on each run. Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
1 parent 7979c61 commit 899c3d5

5 files changed

Lines changed: 13 additions & 19 deletions

File tree

.gitignore

Lines changed: 2 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -6,29 +6,15 @@ out
66
dist
77
*.tgz
88

9-
# code coverage
10-
coverage
11-
*.lcov
129

1310
# logs
1411
logs
1512
_.log
1613
report.[0-9]_.[0-9]_.[0-9]_.[0-9]_.json
1714

18-
# dotenv environment variable files
19-
.env
20-
.env.development.local
21-
.env.test.local
22-
.env.production.local
2315
.env.local
16+
.env.*.local
2417

25-
# caches
26-
.eslintcache
27-
.cache
2818
*.tsbuildinfo
2919

30-
# IntelliJ based IDEs
31-
.idea
32-
33-
# Finder (MacOS) folder config
34-
.DS_Store
20+
ignore

images/frog-neutral.png

10.2 KB
Loading

images/frog-talking.png

10.3 KB
Loading

packages/bumpy/src/commands/ci.ts

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -175,7 +175,10 @@ async function createVersionPr(
175175

176176
if (existingPr) {
177177
log.step(`Updating existing PR #${existingPr}...`);
178-
await runAsync(`gh pr edit ${existingPr} --body-file -`, { cwd: rootDir, input: prBody });
178+
await runAsync(`gh pr edit ${existingPr} --title "${config.versionPr.title}" --body-file -`, {
179+
cwd: rootDir,
180+
input: prBody,
181+
});
179182
log.success(`Updated PR #${existingPr}`);
180183
} else {
181184
log.step('Creating version PR...');

packages/bumpy/src/types.ts

Lines changed: 7 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -138,8 +138,13 @@ export const DEFAULT_CONFIG: BumpyConfig = {
138138
versionPr: {
139139
title: '🐸 Versioned release',
140140
branch: 'bumpy/version-packages',
141-
preamble:
142-
'Merge this PR to publish the listed packages. This PR will be automatically updated as new changesets are added to main.',
141+
preamble: [
142+
'<img src="https://raw.githubusercontent.com/dmno-dev/bumpy/main/images/frog-talking.png" alt="bumpy" width="60" align="left" style="image-rendering: pixelated;" />',
143+
'',
144+
'This PR is created/managed by [bumpy](https://github.com/dmno-dev/bumpy) - merge it when you are ready to release the packages listed below.',
145+
'',
146+
'<br clear="left" />',
147+
].join('\n'),
143148
},
144149
};
145150

0 commit comments

Comments
 (0)