From 252641337a142d7d83929b1d8b182b532b642f3f Mon Sep 17 00:00:00 2001 From: Sarah Vaupel Date: Mon, 3 Feb 2025 18:20:21 +0100 Subject: [PATCH] chore: tweak versioning script [skip ci] --- .gitlab-ci/version.pl | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/.gitlab-ci/version.pl b/.gitlab-ci/version.pl index 8a2e277a7..93aa64d23 100755 --- a/.gitlab-ci/version.pl +++ b/.gitlab-ci/version.pl @@ -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=>{