@kungfu-tech/buildchain 2.14.3-alpha.3 → 2.14.3-alpha.5

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -4,7 +4,7 @@
4
4
  "product": {
5
5
  "name": "Buildchain",
6
6
  "package": "@kungfu-tech/buildchain",
7
- "version": "2.14.3-alpha.3",
7
+ "version": "2.14.3-alpha.5",
8
8
  "repository": "https://github.com/kungfu-systems/buildchain"
9
9
  },
10
10
  "majorLine": "v2",
@@ -168,7 +168,7 @@
168
168
  "GitHub Release passport and evidence publication is delegated to promote-buildchain-ref after the semver release transaction completes"
169
169
  ],
170
170
  "breakingDigest": "sha256:1f476fb9a4854b362c4b24cef89a3c7675d7d63baf3bc828d7b8ae7d2787cead",
171
- "auditDigest": "sha256:1cdf90721ff2432378b5628347627824affb25fed3372573969cd16603858864"
171
+ "auditDigest": "sha256:4a0f29c9c33ef97609ca0e2244f79a36307de2c3bbb42f1515b358d2f4a2caa2"
172
172
  },
173
173
  {
174
174
  "contractVersion": 1,
@@ -2830,5 +2830,5 @@
2830
2830
  }
2831
2831
  ],
2832
2832
  "compatibilityDigest": "sha256:edc3653e5cb34efd97065a6941db16140bbf375a565bbcf329d9d795bb07676f",
2833
- "contractDigest": "sha256:abebb2fdfa6e3fe924f4fbf09992ce30005fd5fc6430e84d9d0eb553b809564c"
2833
+ "contractDigest": "sha256:da1ff3c4795f750699b64707e6cc2755a685be00594f7b539c86b45d3243e647"
2834
2834
  }
@@ -1,8 +1,8 @@
1
1
  {
2
2
  "schemaVersion": 1,
3
3
  "contract": "kungfu-buildchain-site-bundle",
4
- "generatedAt": "2026-07-19T02:01:22.383Z",
5
- "publishedAt": "2026-07-19T02:01:22.383Z",
4
+ "generatedAt": "2026-07-19T03:00:54.486Z",
5
+ "publishedAt": "2026-07-19T03:00:54.486Z",
6
6
  "reproducible": true,
7
7
  "timestampPolicy": "ci-injected",
8
8
  "deterministicInputs": [
@@ -19,7 +19,7 @@
19
19
  "declared Buildchain surface manifest contract"
20
20
  ],
21
21
  "sourceDateEpoch": "0",
22
- "sourceRevision": "5903af839d5a3de2bce5c6231d6180181540f3d8",
22
+ "sourceRevision": "1b2aa0c394596fb353715712730914647b132466",
23
23
  "timestampPolicyDetails": {
24
24
  "contract": "kungfu-buildchain-surface-timestamp-policy",
25
25
  "timestampFields": [
@@ -37,7 +37,7 @@
37
37
  },
38
38
  "package": {
39
39
  "name": "@kungfu-tech/buildchain",
40
- "version": "2.14.3-alpha.3",
40
+ "version": "2.14.3-alpha.5",
41
41
  "versionSource": "package.json#version"
42
42
  },
43
43
  "source": {
@@ -4,7 +4,7 @@
4
4
  "product": {
5
5
  "id": "kungfu-tech-buildchain",
6
6
  "name": "@kungfu-tech/buildchain",
7
- "version": "2.14.3-alpha.3",
7
+ "version": "2.14.3-alpha.5",
8
8
  "repository": "https://github.com/kungfu-systems/buildchain"
9
9
  },
10
10
  "source": {
@@ -1,8 +1,8 @@
1
1
  {
2
2
  "schemaVersion": 1,
3
3
  "contract": "kungfu-buildchain-publication-release-registry",
4
- "generatedAt": "2026-07-19T02:01:22.383Z",
5
- "publishedAt": "2026-07-19T02:01:22.383Z",
4
+ "generatedAt": "2026-07-19T03:00:54.486Z",
5
+ "publishedAt": "2026-07-19T03:00:54.486Z",
6
6
  "reproducible": true,
7
7
  "timestampPolicy": "ci-injected",
8
8
  "deterministicInputs": [
@@ -19,7 +19,7 @@
19
19
  "declared Buildchain surface manifest contract"
20
20
  ],
21
21
  "sourceDateEpoch": "0",
22
- "sourceRevision": "5903af839d5a3de2bce5c6231d6180181540f3d8",
22
+ "sourceRevision": "1b2aa0c394596fb353715712730914647b132466",
23
23
  "timestampPolicyDetails": {
24
24
  "contract": "kungfu-buildchain-surface-timestamp-policy",
25
25
  "timestampFields": [
@@ -32,7 +32,7 @@
32
32
  },
33
33
  "package": {
34
34
  "name": "@kungfu-tech/buildchain",
35
- "version": "2.14.3-alpha.3",
35
+ "version": "2.14.3-alpha.5",
36
36
  "versionSource": "package.json#version"
37
37
  },
38
38
  "sourceKind": "package-site-bundle",
@@ -1,8 +1,8 @@
1
1
  {
2
2
  "schemaVersion": 1,
3
3
  "contract": "kungfu-buildchain-site-manifest",
4
- "generatedAt": "2026-07-19T02:01:22.383Z",
5
- "publishedAt": "2026-07-19T02:01:22.383Z",
4
+ "generatedAt": "2026-07-19T03:00:54.486Z",
5
+ "publishedAt": "2026-07-19T03:00:54.486Z",
6
6
  "reproducible": true,
7
7
  "timestampPolicy": "ci-injected",
8
8
  "deterministicInputs": [
@@ -19,7 +19,7 @@
19
19
  "declared Buildchain surface manifest contract"
20
20
  ],
21
21
  "sourceDateEpoch": "0",
22
- "sourceRevision": "5903af839d5a3de2bce5c6231d6180181540f3d8",
22
+ "sourceRevision": "1b2aa0c394596fb353715712730914647b132466",
23
23
  "timestampPolicyDetails": {
24
24
  "contract": "kungfu-buildchain-surface-timestamp-policy",
25
25
  "timestampFields": [
@@ -37,7 +37,7 @@
37
37
  },
38
38
  "package": {
39
39
  "name": "@kungfu-tech/buildchain",
40
- "version": "2.14.3-alpha.3",
40
+ "version": "2.14.3-alpha.5",
41
41
  "versionSource": "package.json#version"
42
42
  },
43
43
  "entrypoint": "buildchain-site.json",
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@kungfu-tech/buildchain",
3
- "version": "2.14.3-alpha.3",
3
+ "version": "2.14.3-alpha.5",
4
4
  "private": false,
5
5
  "description": "Buildchain Release Passport, release governance, CLI toolkit, and site facts.",
6
6
  "repository": "https://github.com/kungfu-systems/buildchain",
@@ -111,6 +111,9 @@ function forwardedInputs(inputNames, { includeInternal = true } = {}) {
111
111
  "promotion-target-ref": "target-ref",
112
112
  "promotion-override-used": "override-used",
113
113
  }[name];
114
+ if (name === "promotion-override-used") {
115
+ return ` ${name}: \${{ needs.resolve-promotion.outputs.override-used == 'true' }}`;
116
+ }
114
117
  return routed
115
118
  ? ` ${name}: \${{ needs.resolve-promotion.outputs.${routed} }}`
116
119
  : ` ${name}: \${{ inputs.${name} }}`;
@@ -23,12 +23,10 @@ function targetIntent(targetRef, requestedPublicationChannel = "") {
23
23
  if (requested && requested !== target.publicationChannel) {
24
24
  throw new Error(`promotion channel ${requested} does not match target ref ${ref} (${target.publicationChannel})`);
25
25
  }
26
- const match = ref.match(target.pattern);
27
26
  return {
28
27
  targetRef: ref,
29
28
  publicationChannel: target.publicationChannel,
30
29
  shellChannel: target.shellChannel,
31
- targetMajor: match?.[1] ? Number(match[1]) : undefined,
32
30
  };
33
31
  }
34
32
 
@@ -55,11 +53,6 @@ export function resolvePromotionChannel({
55
53
  `promotion target ${intent.targetRef} requires ${intent.shellChannel} shell/runtime, got ${selected.channel}`,
56
54
  );
57
55
  }
58
- if (Number.isInteger(intent.targetMajor) && selected.major !== intent.targetMajor) {
59
- throw new Error(
60
- `promotion target ${intent.targetRef} requires Buildchain v${intent.targetMajor}, got v${selected.major}`,
61
- );
62
- }
63
56
  const shellRef = intent.shellChannel === "alpha" ? `v${selected.major}-alpha` : `v${selected.major}`;
64
57
  return {
65
58
  targetRef: intent.targetRef,