commit-analyzer
commit-analyzer copied to clipboard
Support flexible tag format: `VariableString-${version}`
[semantic-release] › ℹ Running semantic-release version 24.0.0
I do expect this kind of tag format x.y.z+myCompany-${version}
where semantic version ${version}
does not care about prepend string x.y.z+myCompany-
and then ${version}
is continuously incremented based on last commit msg :
- 25.1+myCompany-1.0.0
- 25.1+myCompany-1.0.1
- 25.2.1+myCompany-1.1.0
- 25.2.1+myCompany-1.1.1
- 25.2.1+myCompany-2.0.0
- 25.3.0+myCompany-2.1.0
However and by default, each new x.y.z+myCompany-
makes actually ${version}
to restart from 1.0.0
:
- 25.1+myCompany-1.0.0
- 25.1+myCompany-1.0.1
- 25.2.1+myCompany-1.0.0
- 25.2.1+myCompany-1.1.0
- 25.2.1+myCompany-2.0.0
- 25.3.0+myCompany-1.0.0
I had a look to Conventional Changelog and commit and tag version to find a way customize this default behavior ... but did not find a lead.
Any advice highly appreciated. Thx