Skip to content

Publish and Prerelease from multiple branches (input desired) #423

Closed
@jacksbox

Description

@jacksbox

Description

Related to this Issue and PR from me regarding prereleases:
#386
#413

With the (hopefully soon) new prerelease option, it would be nice to have the option to publish from multiple branches with different options.

Use cases

This would enable flows like:

Branch: master -> publish normal new version
Branch: dev -> publish new beta prerelease
Branch: feature/* -> publish new alpha prerelease

Possible implementation

This would change how the branch configuration option works - or possible remove it - as we than would not check out a branch on the publish command, but would analyse what to exactly do based on the currently checked out branch.

PS: Another possible option to handle this, could be a dedicated prerelease command which can be called from the ci pipeline directly, which than would operate on the current branch...

Would love to get some input!

Metadata

Metadata

Assignees

No one assigned

    Labels

    featureA new feature or a feature requestfixed-in-v8Issues which will be or are fixed in PSR v8

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions