fix: harden release surface version and packaging sync (#1388)

* fix: keep ecc release surfaces version-synced

* fix: keep lockfile release version in sync

* fix: remove release version drift from locks and tests

* fix: keep root release metadata version-synced

* fix: keep codex marketplace metadata version-synced

* fix: gate release workflows on full metadata sync

* fix: ship all versioned release metadata

* fix: harden manual release path

* fix: keep localized release docs version-synced

* fix: sync install architecture version examples

* test: cover shipped plugin metadata in npm pack

* fix: verify final npm payload in release script

* fix: ship opencode lockfile in npm package

* docs: sync localized release highlights

* fix: stabilize windows ci portability

* fix: tighten release script version sync

* fix: prefer repo-relative hook file paths

* fix: make npm pack test shell-safe on windows
This commit is contained in:
Affaan Mustafa
2026-04-12 22:33:32 -07:00
committed by GitHub
parent fc5921a521
commit 28edd197c2
13 changed files with 487 additions and 25 deletions

View File

@@ -6,6 +6,9 @@ const assert = require('assert');
const fs = require('fs');
const os = require('os');
const path = require('path');
const CURRENT_PACKAGE_VERSION = JSON.parse(
fs.readFileSync(path.join(__dirname, '..', '..', 'package.json'), 'utf8')
).version;
const {
createInstallState,
@@ -66,7 +69,7 @@ function runTests() {
},
],
source: {
repoVersion: '1.10.0',
repoVersion: CURRENT_PACKAGE_VERSION,
repoCommit: 'abc123',
manifestVersion: 1,
},
@@ -100,7 +103,7 @@ function runTests() {
},
operations: [],
source: {
repoVersion: '1.10.0',
repoVersion: CURRENT_PACKAGE_VERSION,
repoCommit: 'abc123',
manifestVersion: 1,
},
@@ -154,7 +157,7 @@ function runTests() {
},
operations: [operation],
source: {
repoVersion: '1.10.0',
repoVersion: CURRENT_PACKAGE_VERSION,
repoCommit: 'abc123',
manifestVersion: 1,
},
@@ -208,7 +211,7 @@ function runTests() {
skippedModules: [],
},
source: {
repoVersion: '1.10.0',
repoVersion: CURRENT_PACKAGE_VERSION,
repoCommit: 'abc123',
manifestVersion: 1,
},