Skip to content

Predefined variable with current scopes/packages #1950

Description

@BatmanAoD

Related to #988.

As far as I can tell, there's no way for a Knope recipe to have conditional logic based on which scopes/packages are "active," i.e. being released. For the Command step type, it would be useful to have a predefined variable, "$packages" = "Packages", set to a list (probably space-delimited) of the packages that will be updated by the PrepareRelease step.

I was originally thinking the variable should be called $scopes, but since each package can have multiple scopes, there's some ambiguity about what the variable would contain in that case. $packages seems clearer.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions