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 to use custom extra_plugins #16

Open
julien-bouquet opened this issue Nov 2, 2021 · 1 comment
Open

Allow to use custom extra_plugins #16

julien-bouquet opened this issue Nov 2, 2021 · 1 comment
Labels
enhancement New feature or request

Comments

@julien-bouquet
Copy link

By example, use:

          extra_plugins: |
          @semantic-release/commit-analyzer
          @semantic-release/git
          @semantic-release/github

Instead of

extra_plugins: |
          @semantic-release/commit-analyzer
          @semantic-release/release-notes-generator
          @semantic-release/git
          @semantic-release/github
@rlespinasse
Copy link
Owner

For that, I plan to wait until #3 implementation in order to use the configuration to calculate the needed extra_plugins based on repository configuration to stay opinionated 😄

With this issue, the default (and opinionated) configuration will be

extra_plugins: |
          @semantic-release/commit-analyzer
          @semantic-release/release-notes-generator
          @semantic-release/git
          @semantic-release/github

And if you have (let say) a .releaserc file with the following content

{
  "plugins": [
    "@semantic-release/commit-analyzer",
    "@semantic-release/release-notes-generator",
    "@semantic-release/npm",
    "@semantic-release/git"
  ]
}

Then the action extra_plugins configuration will be like

extra_plugins: |
          @semantic-release/commit-analyzer
          @semantic-release/release-notes-generator
          @semantic-release/npm
          @semantic-release/git

In addition, the following plugins are already bundled, we do not need to add it as extra_plugins in the associated sub-action

"@semantic-release/commit-analyzer"
"@semantic-release/release-notes-generator"
"@semantic-release/npm"
"@semantic-release/github"

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

No branches or pull requests

2 participants