chore: tweak versioning script [skip ci]

This commit is contained in:
Sarah Vaupel 2025-02-03 18:20:21 +01:00
parent 3cbeba956e
commit 252641337a

View File

@ -7,7 +7,7 @@ use Data::Dumper;
# Version changes:
# v[x].[y].[z] -- Main version number
# v[x].[y].[z]-test-[branchstring]-num -- test/branch/devel version number
# v[x].[y].[z]-test-[branchstring]-[num] -- test/branch/devel version number
# on main/master: Biggest version so far, increment by occuring changes
# on other branches: find version; be it branch string, old format or main version number;
# increments from there. Increment version number, but on global conflict use new version number
@ -52,12 +52,12 @@ my %parKinds = (
},
autokind=>{
arity=>1,
def=>'main=v,master=v,test=t,*=t',
def=>'release/prod=v,release/*=t,*=t',
help=>'determine the tag kind from branch name instead of fixed value; use the first fitting glob',
},
change=>{
arity=>1,
def=>'chore=patch,feat=minor,feature=minor,fix=patch,BREAK=major,perf=patch,refactor=patch,test=patch,style=patch,revert=null,docs=patch,build=null,ci=null',
def=>'chore=patch,feat=minor,feature=minor,fix=patch,BREAK=major,perf=patch,refactor=patch,test=patch,style=patch,revert=patch,docs=patch,build=patch,ci=patch',
help=>'how to react on which commit type; can be partially given. Actions are: "null", "major", "minor", "patch" or state "invalid" for removing this type',
},
changelog=>{