mathieudutour / github-tag-action

A Github Action to automatically bump and tag master, on merge, with the latest SemVer formatted version. Works on any platform.
https://github.com/marketplace/actions/github-tag
MIT License
624 stars 195 forks source link

Help to add suffix non-release tags only #190

Open gabriel-amyot opened 10 months ago

gabriel-amyot commented 10 months ago

How do I need to configure my action to have this tagging when I commit on any branch but master? Example: Previous version is v2.2.1 I create a PR, and every commit in the PR should be tagged like this : v2.2.2-dev.0 , v2.2.2-dev.1, v2.2.2-dev.2 Then when I merge the PR to master, I have would like to have : v2.2.2

I'm almost sure this is possible, since I've seen similar stuff on reported issues, but I can find de correct way to configure the action to even add a suffix. Thank you