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
641 stars 201 forks source link

Question - Possible to omit branch name? #163

Open KyleBrown-804 opened 1 year ago

KyleBrown-804 commented 1 year ago

I might just be missing something but is it not possible to completely omit the branch name from version tags? I am seeing version tags coming in with the full branch name such as v0.0.8-<branch name here>.

So the desired outcome would be v0.0.8 by itself. I also tried using append_to_pre_release_tag set to "" but that defaulted to the full name.

epignatelli commented 1 year ago

Duplicate of #122

mikejflex commented 1 year ago

Potential solution: https://github.com/mathieudutour/github-tag-action/issues/122#issuecomment-1701966592