Skip to content

Commit 519edc8

Browse files
committed
ci: use conventional commit categories in changelog
1 parent 4e9c868 commit 519edc8

File tree

3 files changed

+31
-14
lines changed

3 files changed

+31
-14
lines changed

.github/workflows/release-builder.yml

Lines changed: 24 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -26,36 +26,48 @@ jobs:
2626
},
2727
"categories": [
2828
{
29-
"title": "## 🚀 Features",
29+
"title": "## 🦾 Features",
3030
"labels": ["feat"]
3131
},
3232
{
3333
"title": "## 🐛 Fixes",
3434
"labels": ["fix"]
3535
},
3636
{
37-
"title": "## 🦾 Enhancements",
38-
"labels": ["enh"]
37+
"title": "## 🚀 Performance",
38+
"labels": ["perf"]
3939
},
4040
{
41-
"title": "## 🧹 Refactorings",
42-
"labels": ["rfct"]
41+
"title": "## 📘 Documentation",
42+
"labels": ["docs"]
4343
},
4444
{
45-
"title": "## ⚒️ Build / Dependencies",
46-
"labels": ["build"]
45+
"title": "## 🏗️ Refactorings",
46+
"labels": ["refactor"]
4747
},
4848
{
49-
"title": "## ⚙️ CI",
49+
"title": "## 🤖 CI",
5050
"labels": ["ci"]
5151
},
5252
{
53-
"title": "## 📦 Repository",
54-
"labels": ["repo"]
53+
"title": "## ⚒️ Build",
54+
"labels": ["build"]
55+
},
56+
{
57+
"title": "## ⏱️ Tests",
58+
"labels": ["test"]
59+
},
60+
{
61+
"title": "## 🎨 Style",
62+
"labels": ["style"]
63+
},
64+
{
65+
"title": "## 🧹 Chore",
66+
"labels": ["chore"]
5567
},
5668
{
57-
"title": "## 💬 Other",
58-
"labels": ["other"]
69+
"title": "## ↩️ Reverted",
70+
"labels": ["revert"]
5971
},
6072
{
6173
"title": "## ❔ Uncategorized",

app/src/main/kotlin/de/cyb3rko/pincredible/MainActivity.kt

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,7 @@ class MainActivity : BackpackMainActivity(), BackpackMain {
3535
findNavController(R.id.nav_host_fragment_content_main).apply()
3636
bindInterface(this)
3737

38-
if (Safe.getBoolean(Safe.KEY_INTRO, true)) {
38+
if (Safe.getBoolean(KEY_INTRO, true)) {
3939
IntroBottomSheet().show(supportFragmentManager, IntroBottomSheet.TAG)
4040
}
4141
}
@@ -55,4 +55,8 @@ class MainActivity : BackpackMainActivity(), BackpackMain {
5555
override fun getGitHubLink(): String {
5656
return getString(R.string.github_link)
5757
}
58+
59+
companion object {
60+
const val KEY_INTRO = "intro-shown"
61+
}
5862
}

app/src/main/kotlin/de/cyb3rko/pincredible/modals/IntroBottomSheet.kt

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,6 +26,7 @@ import android.view.ViewGroup
2626
import com.google.android.material.bottomsheet.BottomSheetDialogFragment
2727
import de.cyb3rko.backpack.utils.Safe
2828
import de.cyb3rko.backpack.utils.openUrl
29+
import de.cyb3rko.pincredible.MainActivity.Companion.KEY_INTRO
2930
import de.cyb3rko.pincredible.R
3031
import de.cyb3rko.pincredible.databinding.BottomsheetIntroBinding
3132

@@ -48,7 +49,7 @@ class IntroBottomSheet : BottomSheetDialogFragment() {
4849
ClipData.newPlainText(LINK_LABEL, getString(R.string.intro_link))
4950
)
5051
}
51-
Safe.writeBoolean(Safe.KEY_INTRO, false)
52+
Safe.writeBoolean(KEY_INTRO, false)
5253
return binding.root
5354
}
5455

0 commit comments

Comments
 (0)