Skip to content

armgit / ECC

Public Imported from GitHub
0

The agent harness performance optimization system. Skills, instincts, memory, security, and research-first development for Claude Code, Codex, Opencode, Cursor and beyond.

test(release): enforce release-note filename convention

haelyra7d9f70c5011b
diff --git a/tests/ci/release-packed-artifact-workflow.test.js b/tests/ci/release-packed-artifact-workflow.test.js
index c24bfa781..a79e96bb2 100644
--- a/tests/ci/release-packed-artifact-workflow.test.js
+++ b/tests/ci/release-packed-artifact-workflow.test.js
@@ -75,13 +75,13 @@ for (const workflowPath of workflowPaths) {
assert.match(verify, /RELEASE_VERSION="\$\{RELEASE_TAG#v\}"/);
assert.match(
verify,
- /RELEASE_NOTES="docs\/releases\/\$\{RELEASE_VERSION\}\/RELEASE_NOTES\.md"/
+ /RELEASE_NOTES="docs\/releases\/\$\{RELEASE_VERSION\}\/release-notes\.md"/
);
assert.match(verify, /if \[ ! -f "\$RELEASE_NOTES" \]/);
assert.match(verify, /cp "\$RELEASE_NOTES" release_body\.md/);
assert.doesNotMatch(
verify,
- /cp docs\/releases\/2\.2\.0\/RELEASE_NOTES\.md/,
+ /cp docs\/releases\/2\.2\.0\/release-notes\.md/,
'release workflows must not reuse 2.2.0 notes for later versions'
);
});
diff --git a/tests/scripts/release-publish.test.js b/tests/scripts/release-publish.test.js
index 200b77c10..a6c319f2d 100644
--- a/tests/scripts/release-publish.test.js
+++ b/tests/scripts/release-publish.test.js
@@ -63,7 +63,7 @@ for (const workflow of [
test(`${workflow} selects reviewed release notes from the release version`, () => {
assert.match(content, /RELEASE_VERSION="\$\{RELEASE_TAG#v\}"/);
- assert.match(content, /docs\/releases\/\$\{RELEASE_VERSION\}\/RELEASE_NOTES\.md/);
+ assert.match(content, /docs\/releases\/\$\{RELEASE_VERSION\}\/release-notes\.md/);
});
test(`${workflow} publishes new tag versions to npm`, () => {