Skip to content

Bug: feat Git commits that include Conventional Commit 'scopes' do NOT increment MINOR version #96

Open
@haysclark

Description

@haysclark

feat: a commit of the type feat introduces a new feature to the codebase (this correlates with MINOR in Semantic Versioning).

Expected behavior:

git commit --am 'feat(api): adds cool feature

Should increment MINOR version when jx-release-version run. (e.g: 0.0.0 -> 0.1.0)

Actual behavior:

Only the PATCH version is incremented. (e.g: 0.0.0 -> 0.0.1)

Note:

Removing the scope from the git commit message does increment MINOR version correctly.

git commit --am 'feat: adds cool feature to api

version: 2.5.1
source: ghcr.io/jenkins-x/jx-release-version:2.5.1

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions