Skip to content

Merge unreleased applies all changes to all projects #569

Description

@TheSpyder

Description
"merge unreleased" (#518) does not support projects correctly.

Reproduction Steps
Steps to reproduce the behavior:

  1. Set up changie with projects configured
  2. Add some unreleased changes specific to each project
  3. Run changie merge -u "unreleased"

What happened
Every changelog has all unreleased changes.

Expected behavior
Only changes specific to a project should be added as unreleased changes in that project's changelog.

Additional context
This feature is very handy for monorepos - I was about to request it before I realised it was already an option - because not all projects in the monorepo have unreleased changes at the same time. I want to verify in CI that unreleased changie files are valid, and changie batch fails on projects without changes.

Perhaps broken during #557, when merge switched from per-project to all projects.

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions