Which area is affected?
Build tooling (scripts, plugins)
Bug description
The release script in scripts/release/create-post.mjs used incorrect relative paths.
Tt could not find the shared fetch.mjs utility and failed with ERR_MODULE_NOT_FOUND.
Its output path also pointed outside the project, so the generated blog post failed with an ENOENT error.
After correcting the paths, the script can load the fetch utility and write generated release posts to pages/blog/posts/ inside the project.
File affected: scripts/release/create-post.mjs
Steps to reproduce
- Run: node scripts/release/create-post.mjs "$TAG" --author="$AUTHOR"
- The script fails because of incorrect relative paths in
scripts/release/create-post.mjs.
Expected behavior
The release script should load the fetch utility and create the generated post in pages/blog/posts/.
Environment
OS: Linux Node.js: v24.19.0 npm: 11.17.0
Have you used AI?
No
Which area is affected?
Build tooling (scripts, plugins)
Bug description
The release script in scripts/release/create-post.mjs used incorrect relative paths.
Tt could not find the shared fetch.mjs utility and failed with ERR_MODULE_NOT_FOUND.
Its output path also pointed outside the project, so the generated blog post failed with an ENOENT error.
After correcting the paths, the script can load the fetch utility and write generated release posts to pages/blog/posts/ inside the project.
File affected: scripts/release/create-post.mjs
Steps to reproduce
scripts/release/create-post.mjs.Expected behavior
The release script should load the fetch utility and create the generated post in
pages/blog/posts/.Environment
OS: Linux Node.js: v24.19.0 npm: 11.17.0
Have you used AI?
No