Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Ability to filter paths for commits #191

Open
6ixfalls opened this issue Mar 19, 2025 · 1 comment
Open

Ability to filter paths for commits #191

6ixfalls opened this issue Mar 19, 2025 · 1 comment

Comments

@6ixfalls
Copy link

There should be an option to have semantic-release target only specific commits, namely commits that follow a glob pattern or file path. This would be useful in monorepos, where there may be multiple separate packages that need releases. The commits from other packages are currently grouped and releases are created when unused.

I tried forking the commit analyzer repository but it doesn't seem like any part related to file paths is saved with the RawCommit type, so it didn't look simple to add.

@jaitaiwan
Copy link

Have you seen #190 ? This could probably be extended to support what you're looking for.

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

No branches or pull requests

2 participants