You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Can't reproduce on last version 2.7.0, the increment is a minor one with a commit including feat (with and without scope):
$ git commit -m 'feat(api): adds cool feature' --allow-empty
[issue96-fix-scope 73bb281] feat(api): adds cool feature
$ ./bin/jx-release-version -debug
DEBUG: jx-release-version 2.6.11-dev+8acbdc5 running in debug mode in /Users/veve/j-infra/jx-release-version
DEBUG: Using "auto" version reader (with "")
DEBUG: Trying to read the previous version from the git tags first...
DEBUG: Found 102 semver tags with pattern ""
DEBUG: Previous version: 2.7.1
DEBUG: Using "auto" version bumper (with "")
DEBUG: Trying to bump the version using semantic release first...
DEBUG: Previous version tag commit is 931609520a0f118c9c115ae7fbda846c1b6735c0
DEBUG: Iterating over all commits since 2023-08-31 20:57:31 +0100 +0100
DEBUG: Checking commit 73bb281737ba87cab68cc2b4b00bf13a4c113c6c with message feat(api): adds cool feature
DEBUG: Parsing commit 73bb281737ba87cab68cc2b4b00bf13a4c113c6c
DEBUG: Checking commit 931609520a0f118c9c115ae7fbda846c1b6735c0 with message Merge pull request #115 from jenkins-x-plugins/dependabot/go_modules/gopkg.in/yaml.v3-3.0.0
chore(deps): bump gopkg.in/yaml.v3 from 3.0.0-20210107192922-496545a6307b to 3.0.0
DEBUG: Found first commit 931609520a0f118c9c115ae7fbda846c1b6735c0 and stopping iteration
DEBUG: Summary of conventional commits since 2023-08-31 20:57:31 +0100 +0100: semantic.conventionalCommitsSummary{conventionalCommitsCount:1, types:map[string]bool{"feat":true}, breakingChanges:false}
DEBUG: Found at least 1 new feature - incrementing minor component
DEBUG: Next version: 2.8.0
2.8.0
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.version: 2.5.1
source: ghcr.io/jenkins-x/jx-release-version:2.5.1
The text was updated successfully, but these errors were encountered: