semantic-release / semantic-release/commit-analyzer

Is it possible to give custom type in the configuration?

Open
#271 1 comment 1 reaction 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
JavaScript
Stars
448
Forks
82
Avg merge
17h 41m
Merged PRs (30d)
4

Description

I want to analyze some custom-type commits also. Something like below:
[ "@semantic-release/commit-analyzer", { "preset": "angular", "releaseRules": [{ "type": "chore", "release": "patch" }, { "type": "test-fix", "release": "patch" }, { "type": "test-feat", "release": "minor" }] } ]
Is there any way to do like above?
For example:
test-fix: Testing semantic commit analyzer , this commit should trigger the patch release.

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

No file, test, or entry point is named. Start by tracing how the commit-analyzer reads its preset and releaseRules configuration, then check how commit types are matched. Done means the shown test-fix and test-feat commits produce patch and minor releases as configured.

Written by the indexing model from the issue text.

Assessment

Tech stack
javascript
Domain
release
Issue type
Feature
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.