Consider replacing `commitHashLength` with a parameter to the commit part, e.g.: `format '%tag%%<commit(8)>%`