Skip to content

Grouped package releases #103

@goulvenclech

Description

@goulvenclech

Describe the problem

Currently, all packages in a workspace are released together in a single PR. There is no way to release subsets of packages independently when different packages have different release cadences or stability requirements (except using multiple branches).

What's the expected result?

Add « release groups » in .sampo/config.toml to release packages separately. With named collections of packages with independent release workflows. Packages in one group cannot depend on packages in another group, and ungrouped packages can be depended on by any group.

In sampo CLI, we should be able to target specific groups for release/publish, both via --group <name> flag or in CLI UI. In sampo-github-action, it should create separate PRs per group.

Example use case: separate experimental packages from stable core, or isolate high-frequency released packages from low-frequency ones.

Metadata

Metadata

Assignees

No one assigned

    Labels

    RFCProposed feature or change - open for feedbackcrt:sampoChanges in Sampo CLI crate.crt:sampo-coreChanges in Sampo core logic or internal utils.crt:sampo-github-actionChanges in Sampo's Github action crate.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions