fix(gitlab_release): A 'feat' commit must do a MINOR bump to version
issue #1
This commit is contained in:
		| @ -6,10 +6,10 @@ from commitizen.cz.base import BaseCommitizen | |||||||
|  |  | ||||||
|  |  | ||||||
| class nfc_cz(BaseCommitizen): | class nfc_cz(BaseCommitizen): | ||||||
|     bump_pattern = r"^(break|new|fix|hotfix|ci|docs)" |     bump_pattern = r"^(break|new|fix|feat|hotfix|ci|docs)" | ||||||
|     bump_map = {"break": "MAJOR", "new": "MINOR", "fix": "PATCH", "hotfix": "PATCH", "ci": "PATCH", "docs": "PATCH"} |     bump_map = {"break": "MAJOR", "new": "MINOR", "feat": "MINOR","fix": "PATCH", "hotfix": "PATCH", "ci": "PATCH", "docs": "PATCH"} | ||||||
|  |  | ||||||
|     changelog_pattern = "^(break|new|fix|hotfix|ci|docs)" |     changelog_pattern = "^(break|new|fix|feat|hotfix|ci|docs)" | ||||||
|     change_type_order = ["BREAKING CHANGE", "feat", "fix", "refactor", "perf", "docs", "ci"] |     change_type_order = ["BREAKING CHANGE", "feat", "fix", "refactor", "perf", "docs", "ci"] | ||||||
|     change_type_map = { |     change_type_map = { | ||||||
|         "feat": "Features", |         "feat": "Features", | ||||||
|  | |||||||
		Reference in New Issue
	
	Block a user