Skip to content

fix(ci): skip deleted modules in readme generation#301

Merged
gdrojas merged 1 commit intomainfrom
fix/ci-readme-skip-deleted-modules
Apr 22, 2026
Merged

fix(ci): skip deleted modules in readme generation#301
gdrojas merged 1 commit intomainfrom
fix/ci-readme-skip-deleted-modules

Conversation

@gdrojas
Copy link
Copy Markdown
Collaborator

@gdrojas gdrojas commented Apr 22, 2026

The "Detect changed modules" step was listing deleted directories when a module was removed between two tags, causing generate-readme-v2.js to exit with "Directory not found" errors and fail the release job.

Adds --diff-filter=d to exclude deleted paths from git diff and a filesystem check to drop any directory that no longer exists, which also covers rename edge cases.

The "Detect changed modules" step was listing deleted directories when
a module was removed between two tags, causing generate-readme-v2.js
to exit with "Directory not found" errors and fail the release job.

Adds --diff-filter=d to exclude deleted paths from git diff and a
filesystem check to drop any directory that no longer exists, which
also covers rename edge cases.
@gdrojas gdrojas merged commit 5f74c38 into main Apr 22, 2026
40 checks passed
@gdrojas gdrojas deleted the fix/ci-readme-skip-deleted-modules branch April 22, 2026 18:25
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants