Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Support flexible tag format: VariableString-${version} #671

Open
rcarre opened this issue Jul 4, 2024 · 1 comment
Open

Support flexible tag format: VariableString-${version} #671

rcarre opened this issue Jul 4, 2024 · 1 comment

Comments

@rcarre
Copy link

rcarre commented Jul 4, 2024

[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

@rcarre
Copy link
Author

rcarre commented Jul 5, 2024

Also tried with tagFormat set to myCompany${version}+x.y.z but not working as I expect

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant