chore: tweak versioning script [skip ci]
This commit is contained in:
parent
3cbeba956e
commit
252641337a
@ -7,7 +7,7 @@ use Data::Dumper;
|
|||||||
|
|
||||||
# Version changes:
|
# Version changes:
|
||||||
# v[x].[y].[z] -- Main version number
|
# 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 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;
|
# 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
|
# increments from there. Increment version number, but on global conflict use new version number
|
||||||
@ -52,12 +52,12 @@ my %parKinds = (
|
|||||||
},
|
},
|
||||||
autokind=>{
|
autokind=>{
|
||||||
arity=>1,
|
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',
|
help=>'determine the tag kind from branch name instead of fixed value; use the first fitting glob',
|
||||||
},
|
},
|
||||||
change=>{
|
change=>{
|
||||||
arity=>1,
|
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',
|
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=>{
|
changelog=>{
|
||||||
|
|||||||
Reference in New Issue
Block a user