Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Allow plugins to return more than one release #2123

Open
felipecrs opened this issue Sep 13, 2021 · 1 comment
Open

Allow plugins to return more than one release #2123

felipecrs opened this issue Sep 13, 2021 · 1 comment

Comments

@felipecrs
Copy link

New feature motivation

I'm extending semantic-release-vsce to support publishing to not only the Visual Studio Marketplace but also to the Open VSX Registry through felipecrs/semantic-release-vsce#169.

However, the semantic-release expects the return of the publish step to be an object with properties name and url. Now, as the plugin would be publishing to 2 different locations, it would be desired to be able to return a list with the two releases objects.

New feature description

The semantic-release to allow plugins to return a list of releases instead of just one release.

New feature implementation

The semantic-release can validate if it is a normal object, or if it is a list, and then validate each element of it as if it was one of the previously expected object. The implementation should not bring any backwards incompatibility.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant