commit-analyzer icon indicating copy to clipboard operation
commit-analyzer copied to clipboard

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

Open Benjaminshafa opened this issue 3 years ago • 3 comments

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?

Benjaminshafa avatar May 17 '22 06:05 Benjaminshafa

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

nhoizey avatar Dec 01 '22 00:12 nhoizey

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 avatar Jan 20 '23 13:01 GraemeF

Just worked it out:

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

GraemeF avatar Jan 20 '23 13:01 GraemeF