github-tag-action icon indicating copy to clipboard operation
github-tag-action copied to clipboard

Support gitmoji commits

Open itpropro opened this issue 3 years ago • 2 comments

Thanks for creating this great action! I would like to use is with gitmoji based commits like 📝(README): Updated README with info, but it seems not possible with the current separators. As the above example, which refers to the docs: conventional commits type, can also be represented by :memo:(README): Updated README with info, I thought I can just add them to the custom_release_rules. Unfortunately, as the separator : is hardcoded here https://github.com/mathieudutour/github-tag-action/blob/87322e4efff34a7f630512379aabad45e3254d53/src/utils.ts#L76 it's not possible to add them like :zap::patch, :bug::patch, :ambulance::patch, :sparkles::minor etc.. My suggestion would be to either have optional separators with two new parameters (:zap:,patch; :bug:,patch; ...) or to use another data representation of the custom_release_rules. What do you think @mathieudutour ?

itpropro avatar Mar 12 '21 01:03 itpropro

another data representation or separator would be a breaking change. How about supporting something like \:zap\::patch,\:bug\::patch?

mathieudutour avatar Mar 12 '21 07:03 mathieudutour

That sounds like a good solution 👍

itpropro avatar Mar 15 '21 18:03 itpropro