Skip to content

Commit 21b36f4

Browse files
committed
feat!: mark context overhaul as 0.2.0 release
Release-As: 0.2.0
1 parent cfd4eaf commit 21b36f4

1 file changed

Lines changed: 15 additions & 0 deletions

File tree

.github/scripts/version.test.ts

Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -440,6 +440,21 @@ describe("calculateVersion", () => {
440440
});
441441
});
442442

443+
it("creates a 0.x canary with an exact Release-As override", () => {
444+
const result = calculateVersion({
445+
...baseOpts,
446+
currentVersion: "0.1.12",
447+
subjects: ["feat!: context overhaul"],
448+
bodies: ["Release-As: 0.2.0"],
449+
eventName: "pull_request",
450+
});
451+
assertEquals(result, {
452+
skip: false,
453+
version: "0.2.0-canary.abc123d.20260212091429",
454+
tag: "canary",
455+
});
456+
});
457+
443458
it("creates canary for breaking change", () => {
444459
const result = calculateVersion({
445460
...baseOpts,

0 commit comments

Comments
 (0)