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

always make a release even if the commit type is not any of the pre-defined one #339

Open
Benjaminshafa opened this issue May 17, 2022 · 3 comments

Comments

@Benjaminshafa
Copy link

Benjaminshafa commented May 17, 2022

is there a way to always make a release type of "patch" if the commit type doesn't fall into any of the predefined options like "feat:" or "fix:" ? how does my "releaseRules" supposed to look like?

@nhoizey
Copy link

nhoizey commented Dec 1, 2022

I would also be really interested in this feature, if it's possible.

@GraemeF
Copy link

GraemeF commented Jan 20, 2023

I can't work this out either - we aren't using conventional commits currently but could in the future. In the meantime I'd like to set up our pipeline so we are ready.

@GraemeF
Copy link

GraemeF commented Jan 20, 2023

Just worked it out:

    [
      "@semantic-release/commit-analyzer",
      {
        "preset": "angular",
        "releaseRules": [{ "release": "patch" }]
      }
    ]

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

3 participants