Skip to content
Snippets Groups Projects
Commit ecdd4af7 authored by timoknapp's avatar timoknapp Committed by Christoph Witzko
Browse files

feat: add emojis to default commit types

parent 85ddde0e
Branches
Tags
No related merge requests found
...@@ -4,6 +4,7 @@ type ChangelogType struct { ...@@ -4,6 +4,7 @@ type ChangelogType struct {
Type string Type string
Text string Text string
Content string Content string
Emoji string
} }
type ChangelogTypes []ChangelogType type ChangelogTypes []ChangelogType
...@@ -32,49 +33,61 @@ var defaultTypes = ChangelogTypes{ ...@@ -32,49 +33,61 @@ var defaultTypes = ChangelogTypes{
{ {
Type: "%%bc%%", Type: "%%bc%%",
Text: "Breaking Changes", Text: "Breaking Changes",
Emoji: "📣",
}, },
{ {
Type: "feat", Type: "feat",
Text: "Feature", Text: "Feature",
Emoji: "🎁",
}, },
{ {
Type: "fix", Type: "fix",
Text: "Bug Fixes", Text: "Bug Fixes",
Emoji: "🐞",
}, },
{ {
Type: "revert", Type: "revert",
Text: "Reverts", Text: "Reverts",
Emoji: "🔙",
}, },
{ {
Type: "perf", Type: "perf",
Text: "Performance Improvements", Text: "Performance Improvements",
Emoji: "📈",
}, },
{ {
Type: "docs", Type: "docs",
Text: "Documentation", Text: "Documentation",
Emoji: "📄",
}, },
{ {
Type: "test", Type: "test",
Text: "Tests", Text: "Tests",
Emoji: "🔎",
}, },
{ {
Type: "refactor", Type: "refactor",
Text: "Code Refactoring", Text: "Code Refactoring",
Emoji: "🔀",
}, },
{ {
Type: "style", Type: "style",
Text: "Styles", Text: "Styles",
Emoji: "🎨",
}, },
{ {
Type: "chore", Type: "chore",
Text: "Chores", Text: "Chores",
Emoji: "🚧",
}, },
{ {
Type: "build", Type: "build",
Text: "Build", Text: "Build",
Emoji: "📦",
}, },
{ {
Type: "ci", Type: "ci",
Text: "CI", Text: "CI",
Emoji: "🔁",
}, },
} }
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment