Open cfoster5 opened 3 weeks ago
What configuration do you have?
Do you have any other types of commits? Chores and docs shouldn’t affect the version at all, so I suspect it’s defaulting to minor (in the absence of other information)
What configuration do you have?
Do you have any other types of commits? Chores and docs shouldn’t affect the version at all, so I suspect it’s defaulting to minor (in the absence of other information)
I'm finding if I skip tagging, the versioning is not working properly. But when using tagging, things work as expected. Are tags the primary reference when determining the next version, rather than the version listed in the packageFiles and bumpFiles?
Yes, tags are the primary source for version information- skip tagging is only for if you are applying the tag in some other way
if this isn’t clear in the documentation, possibly it should be
Yes, tags are the primary source for version information- skip tagging is only for if you are applying the tag in some other way
if this isn’t clear in the documentation, possibly it should be
Thanks so much for clarifying. My team is used to only tagging in a pre-release branch and bumping in a lower dev branch. Sounds like we will need to tag in the dev branch as well then.
Description Version bumping is not working as expected
Current behavior I created a new repository with a project that uses Maven. I have followed the conventional commit format for all commits but am seeing minor version bumps for
chores
anddocs
commit types.Expected behavior I would expect
chores
anddocs
commit types to bump the patch version, not the minor version.Additional context Here is the
git log
for the repo:I am using the following to preview the process:
npx commit-and-tag-version --packageFiles pom.xml --bumpFiles pom.xml --dry-run
. This gives the following output: