File tree Expand file tree Collapse file tree 2 files changed +7
-0
lines changed
Expand file tree Collapse file tree 2 files changed +7
-0
lines changed Original file line number Diff line number Diff line change @@ -101,6 +101,10 @@ inputs:
101101 increment :
102102 description : " Manually specify the desired increment"
103103 required : false
104+ increment_mode :
105+ description : " Mode for incrementing version (linear, exact)"
106+ required : false
107+ default : " linear"
104108 check_consistency :
105109 default : " false"
106110 description : " check consistency among versions defined in commitizen configuration and version_files"
Original file line number Diff line number Diff line change 8282if [[ $INPUT_INCREMENT ]]; then
8383 CZ_CMD+=(' --increment' " $INPUT_INCREMENT " )
8484fi
85+ if [[ $INPUT_INCREMENT_MODE && (" $INPUT_INCREMENT_MODE " == " linear" || " $INPUT_INCREMENT_MODE " == " exact" ) ]]; then
86+ CZ_CMD+=(' --increment-mode' " $INPUT_INCREMENT_MODE " )
87+ fi
8588if [[ $INPUT_CHECK_CONSISTENCY == ' true' ]]; then
8689 CZ_CMD+=(' --check-consistency' )
8790fi
You can’t perform that action at this time.
0 commit comments