Gitmoji Config #3947
-
|
I've never started using conventional commit because I can't let go of gitmoji - the visual indicators are the most visually compact way to tranmit information. But I can't find any docs on how to do that. I'd love to do that. I presume it would be required to use custom settings. Can anyone share their config? CC @bryanjtc |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 1 reply
-
Hello, yes. I changed from js to json config. Also replaced the logic to loop through the emojis list from gitmojis and manually declare them. I keep using semantic-release-gitmoji. Here's a working config I use in my projects. {
"branches": [
"main",
{
"name": "{feature,bug,chore}/*",
"channel": "alpha-${name.replace(\"/\", \"-\")}",
"prerelease": "alpha-${name.replace(\"/\", \"-\")}"
},
{
"channel": "beta",
"name": "dev",
"prerelease": "beta"
},
{
"channel": "next",
"name": "testing",
"prerelease": "next"
}
],
"plugins": [
[
"semantic-release-gitmoji",
{
"releaseRules": {
"major": [":boom:"],
"minor": [":sparkles:"],
"patch": [
":zap:",
":bug:",
":ambulance:",
":lipstick:",
":lock:",
":arrow_down:",
":arrow_up:",
":pushpin:",
":chart_with_upwards_trend:",
":heavy_plus_sign:",
":heavy_minus_sign:",
":wrench:",
":globe_with_meridians:",
":pencil2:",
":rewind:",
":package:",
":alien:",
":children_crossing:",
":iphone:",
":egg:",
":alembic:",
":mag:",
":label:",
":triangular_flag_on_post:",
":goal_net:",
":dizzy:",
":wastebasket:",
":passport_control:",
":adhesive_bandage:",
":necktie:",
":bento:",
":wheelchair:",
":speech_balloon:",
":card_file_box:"
]
}
}
],
"@semantic-release/gitlab",
[
"@semantic-release/git",
{
"message": "π RELEASE: chore(release) - ${nextRelease.version} [skip ci]\n\n${nextRelease.notes}"
}
]
]
}
|
Beta Was this translation helpful? Give feedback.
Hello, yes. I changed from js to json config. Also replaced the logic to loop through the emojis list from gitmojis and manually declare them. I keep using semantic-release-gitmoji. Here's a working config I use in my projects.
{ "branches": [ "main",β¦