Skip to content

Make patch release a default for each commit #143

@demisx

Description

@demisx

Hi,

Thank you for such an excellent plugin. We have a dedicated prod branch where each commit should trigger a release. Currently, certain commit types (e.g. chore) do not trigger a release. Is it possible to configure commit analyzer to bump patch version by default for any type except "no-release"? I've tried something like this, but it's not working:

  [
      "@semantic-release/commit-analyzer",
      {
        "preset": "angular",
        "releaseRules": [
          {"scope": "no-release", "release": false},
          {"type": "*", "release": "patch"}
        ]
      }
    ],

Another option, is to list each type with release: "patch", but it's not as flexible as having a wildcard. Thank you very much!

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions