Skip to content

Commit fb2f98e

Browse files
committed
💚 build: add custom message to version bump commit
1 parent a26ce35 commit fb2f98e

1 file changed

Lines changed: 7 additions & 4 deletions

File tree

scripts/bump-version.ts

Lines changed: 7 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -10,8 +10,11 @@ const next = yy * 10_000 + mm * 100 + dd;
1010

1111
const version = [major, next, next === minor ? patch + 1 : 0].join(".");
1212

13-
const proc = Bun.spawn(["bun", "pm", "version", version], {
14-
stderr: "inherit",
15-
stdout: "inherit",
16-
});
13+
const proc = Bun.spawn(
14+
["bun", "pm", "version", version, "--message=:bookmark: build(release): %s"],
15+
{
16+
stderr: "inherit",
17+
stdout: "inherit",
18+
},
19+
);
1720
process.exit(await proc.exited);

0 commit comments

Comments
 (0)