We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent cfd4eaf commit 21b36f4Copy full SHA for 21b36f4
1 file changed
.github/scripts/version.test.ts
@@ -440,6 +440,21 @@ describe("calculateVersion", () => {
440
});
441
442
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
+
458
it("creates canary for breaking change", () => {
459
const result = calculateVersion({
460
...baseOpts,
0 commit comments