From 508b08327ea329a9f3ba86e1e6eff1ffee471dfe Mon Sep 17 00:00:00 2001 From: OCram85 Date: Mon, 24 Feb 2025 09:34:49 +0100 Subject: [PATCH] add release helper config --- release-conifg.ts | 67 +++++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 67 insertions(+) create mode 100644 release-conifg.ts diff --git a/release-conifg.ts b/release-conifg.ts new file mode 100644 index 0000000..13f79a7 --- /dev/null +++ b/release-conifg.ts @@ -0,0 +1,67 @@ +export default { + skipLabels: [ + // FIXME: ignoring a label prevents processing the full PR! + //'build_pr_images', + // ignore issue labels + 'duplicate', + 'help wanted', + 'invalid', + 'question', + 'wontfix', + ], + changeTypes: [ + { + title: '💥 Breaking changes', + labels: ['breaking'], + bump: 'major', + weight: 4, + }, + { + title: '✨ Features', + labels: ['feature'], + bump: 'minor', + weight: 3, + }, + { + title: '🛠️ Enhancement', + labels: ['enhancement'], + bump: 'minor', + weight: 2, + }, + { + title: '🐛 Bug Fixes', + labels: ['bug'], + bump: 'patch', + weight: 1, + }, + { + title: '🤖 Dependency', + labels: ['renovate', 'dependency'], + bump: 'patch', + }, + { + title: '📚 Documentation', + labels: ['docs'], + bump: 'patch', + }, + { + title: '📦 Build', + labels: ['pipeline'], + bump: 'patch', + weight: -1, + }, + { + title: '⚙️ Meta', + labels: ['meta'], + bump: 'patch', + weight: -2, + }, + { + title: '🔖 Misc', + labels: ['misc'], + bump: 'patch', + default: true, + weight: -3, + }, + ], + }