fix(release): match the ECC banner name when bumping versions

The banner regex still expected 'Everything Claude Code', but the plugin
banner in .opencode/plugins/ecc-hooks.ts reads 'ECC' since the rename, so
update_opencode_hook_banner_version aborted every bump. Accept both names.

Co-Authored-By: Claude <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_0149VwNuynam6rvEfcMmiHHa
This commit is contained in:
Affaan Mustafa
2026-07-27 14:03:22 -04:00
co-authored by Claude
parent b06c78cc6b
commit 1ffaa75472
+1 -1
View File
@@ -248,7 +248,7 @@ update_opencode_hook_banner_version() {
const version = process.argv[2];
const current = fs.readFileSync(file, "utf8");
const updated = current.replace(
/(## Active Plugin: Everything Claude Code v)[0-9]+\.[0-9]+\.[0-9]+(?:-[0-9A-Za-z.-]+)?/,
/(## Active Plugin: (?:Everything Claude Code|ECC) v)[0-9]+\.[0-9]+\.[0-9]+(?:-[0-9A-Za-z.-]+)?/,
`$1${version}`
);
if (updated === current) {