-
-
Notifications
You must be signed in to change notification settings - Fork 19
Open
Description
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:"
]
}
}
]
]
}
Metadata
Metadata
Assignees
Labels
No labels