-
Notifications
You must be signed in to change notification settings - Fork 20
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
Installing extra plugin #168
Comments
Can you explain the expected input and result? You want to list 1 or more non-standard plugins that you're using in your config and have the action install those for you right? can you share what you've been trying so far to see what you'd expect to work? Maybe share a link or some code snippets? |
I was wondering the same, would it be possible to automatically install even only the official plugins which aren't bundled in semantic-release, this would save having to include them in a projects devDependencies. |
Allows users to install non-standard plugins and shareable configuration packages for use in their `plugins` and `extends` without having the install those dependencies in their own applications. Closes #168
Allows users to install non-standard plugins and shareable configuration packages for use in their `plugins` and `extends` without having the install those dependencies in their own applications. Closes #168
Allows users to install non-standard plugins and shareable configuration packages for use in their `plugins` and `extends` without having the install those dependencies in their own applications. Closes #168
Allows users to install non-standard plugins and shareable configuration packages for use in their `plugins` and `extends` without having the install those dependencies in their own applications. Closes #168
Allows users to install non-standard plugins and shareable configuration packages for use in their `plugins` and `extends` without having the install those dependencies in their own applications. Closes #168
Allows users to install non-standard plugins and shareable configuration packages for use in their `plugins` and `extends` without having the install those dependencies in their own applications. Closes #168
Allows users to install non-standard plugins and shareable configuration packages for use in their `plugins` and `extends` without having the install those dependencies in their own applications. Closes #168
Allows users to install non-standard plugins and shareable configuration packages for use in their `plugins` and `extends` without having the install those dependencies in their own applications. Closes #168
@johngeorgewright @MrSwitch hey guys, would you mind testing this before I merge? I don't have a real use case leveraging additional plugins. #170 To summarize: I've added an - name: semantic-release
uses: codfish/semantic-release-action@additional-packages
with:
extends: '@semantic-release/apm-config'
additional_packages: |
['@semantic-release/[email protected]', '@semantic-release/git', '@semantic-release/apm-config']
plugins: |
['@semantic-release/commit-analyzer', '@semantic-release/release-notes-generator', '@semantic-release/github', '@semantic-release/apm', '@semantic-release/git'] If you have a config in your repo, that will work too, without needing to specify Be sure to point to this branch when testing: |
Allows users to install non-standard plugins and shareable configuration packages for use in their `plugins` and `extends` without having the install those dependencies in their own applications. Closes #168
As per comments on #170 It's too easy for things to break by installing the plugins when there is no where to define a version. I'll be using a Thanks @codfish 🙏 |
@MrSwitch much appreciated! I'll leave the issue open for a little bit to see if we have any change of heart or other perspectives |
@codfish do you think this could be merged into main? |
@joaofnds yea, I think it can. Going to look it over to refresh my memory and update it if need be what @MrSwitch said can be done as well (running npm install in a separate step before semantic), but this PR just essentially runs specific versions can be specified directly in the package names provided, i.e. additional_packages: |
['@semantic-release/[email protected]', '@semantic-release/git', '@semantic-release/apm-config'] |
@codfish I'm using this. but I'm getting the following error here. Any idea about this? bit stuck here..
|
There seems to be a problem with semantic releaser. I've disabled it until we solve it. I've also created an issue on the GitHub action that we are using - codfish/semantic-release-action#168 (comment)
There seems to be a problem with semantic releaser. I've disabled it until we solve it. I've also created an issue on the GitHub action that we are using - codfish/semantic-release-action#168 (comment)
@slayerjain i know it's been awhile but any chance you remember what you had for your semantic release configuration when you got this error? just specifying it as an additional plugin wouldn't be enough. https://github.com/semantic-release/exec#usage what did you have as your config out of curiosity? |
Allows users to install non-standard plugins and shareable configuration packages for use in their `plugins` and `extends` without having the install those dependencies in their own applications. Closes #168
🎉 This issue has been resolved in version 1.10.0 🎉 The release is available on GitHub release Your semantic-release bot 📦🚀 |
If I were to use an extra plugin that this action doesn't use, by default, it does not install it. Is this expected? Feels like this action could install all plugins defined.
The text was updated successfully, but these errors were encountered: