Description
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!