semantic-release-gitmoji
semantic-release-gitmoji copied to clipboard
Only default emojis shown on release notes
If I want to set a different set of emojis and use the default template it "works".. As in it generates the desired version, but the release notes are not generated as intended.
In our case we set several emojis as patch
but only the :bug:
is shown in the generated release notes.
Taking a quick look at the code, it seems it does not pass the releaseRules
config when generating notes.
example config: .releaserc
{
"branches": [
"main"
],
"plugins": [
[
"semantic-release-gitmoji",
{
"releaseRules": {
"major": [
"๐ฅ",
":boom:"
],
"minor": [
"โจ",
":sparkles:"
],
"patch": [
"๐จ",
":art:",
"โก๏ธ",
":zap:",
"๐ฅ",
":fire:",
"๐",
":bug:",
"๐๏ธ",
":ambulance:",
"๐",
":memo:",
"๐",
":rocket:",
"๐",
":lipstick:",
"๐",
":tada:",
"โ
",
":white_check_mark:",
"๐๏ธ",
":lock:",
"๐",
":closed_lock_with_key:",
"๐",
":bookmark:",
"๐จ",
":rotating_light:",
"๐ง",
":construction:",
"๐",
":green_heart:",
"โฌ๏ธ",
":arrow_down:",
"โฌ๏ธ",
":arrow_up:",
"๐",
":pushpin:",
"๐ท",
":construction_worker:",
"๐",
":chart_with_upwards_trend:",
"โป๏ธ",
":recycle:",
"โ",
":heavy_plus_sign:",
"โ",
":heavy_minus_sign:",
"๐ง",
":wrench:",
"๐จ",
":hammer:",
"๐",
":globe_with_meridians:",
"โ๏ธ",
":pencil2:",
"๐ฉ",
":poop:",
"โช๏ธ",
":rewind:",
"๐",
":twisted_rightwards_arrows:",
"๐ฆ๏ธ",
":package:",
"๐ฝ๏ธ",
":alien:",
"๐",
":truck:",
"๐",
":page_facing_up:",
"๐ฑ",
":bento:",
"โฟ๏ธ",
":wheelchair:",
"๐ก",
":bulb:",
"๐ป",
":beers:",
"๐ฌ",
":speech_balloon:",
"๐๏ธ",
":card_file_box:",
"๐",
":loud_sound:",
"๐",
":mute:",
"๐ฅ",
":busts_in_silhouette:",
"๐ธ",
":children_crossing:",
"๐๏ธ",
":building_construction:",
"๐ฑ",
":iphone:",
"๐คก",
":clown_face:",
"๐ฅ",
":egg:",
"๐",
":see_no_evil:",
"๐ธ",
":camera_flash:",
"โ๏ธ",
":alembic:",
"๐๏ธ",
":mag:",
"๐ท๏ธ",
":label:",
"๐ฑ",
":seedling:",
"๐ฉ",
":triangular_flag_on_post:",
"๐ฅ
",
":goal_net:",
"๐ซ",
":dizzy:",
"๐๏ธ",
":wastebasket:",
"๐",
":passport_control:",
"๐ฉน",
":adhesive_bandage:",
"๐ง",
":monocle_face:",
"โฐ๏ธ",
":coffin:",
"๐งช",
":test_tube:",
"๐",
":necktie:",
"๐ฉบ",
":stethoscope:",
"๐งฑ",
":bricks:",
"๐งโ๐ป",
":technologist:",
"๐ธ",
":money_with_wings:",
"๐งต",
":thread:"
]
}
}
]
]
}