mirror of
https://github.com/affaan-m/ECC.git
synced 2026-08-25 17:02:25 +02:00
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:
+1
-1
@@ -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) {
|
||||
|
||||
Reference in New Issue
Block a user